Sha256: 46a1e655667729fd22d19d594d73b0de153b6ffed1793237481571000938583f

Contents?: true

Size: 410 Bytes

Versions: 1

Compression:

Stored size: 410 Bytes

Contents

# TODO: Still thinking about this.
#require "spec_helper"

#describe "Serialization" do

  #let(:book) { Book.new(title: "Jack and Jill", author: "Old Guy", isbn: 12345, publish_date: (DateTime.now - 60)) }
  #let(:presenter) { BookPresenter.new(book) }

  #it "#as_json returns a hash of the serializable attributes" do
    #presenter.as_json.should == { title: book.title, author: book.author }
  #end

#end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
present_foo-0.1.0 spec/serialization_spec.rb