spec/structure_spec.rb in structure-0.6.0 vs spec/structure_spec.rb in structure-0.7.0
- old
+ new
@@ -39,9 +39,10 @@
describe ".default_attributes" do
it "returns the default attributes for the structure" do
Person.send(:default_attributes).should == { :name => nil,
:age => nil,
+ :website => nil,
:friends => [] }
Book.send(:default_attributes).should == { :title => nil,
:authors => nil }
end
end