spec/structure/json_spec.rb in structure-0.6.0 vs spec/structure/json_spec.rb in structure-0.7.0

- old
+ new

@@ -1,10 +1,10 @@ require 'spec_helper' describe Structure do context "when `structure/json' is required" do - let(:person) { Person.new(:name => 'Joe', :age => 28) } - let(:json) { '{"json_class":"Person","name":"Joe","age":28,"friends":[]}' } + let(:person) { Person.new(:name => 'Joe', :age => 28, :website => 'http://example.com') } + let(:json) { '{"json_class":"Person","name":"Joe","age":28,"website":"http://example.com","friends":[]}' } before do require 'structure/json' end