spec/model/node_spec.rb in architect4r-0.3.3.1 vs spec/model/node_spec.rb in architect4r-0.3.4
- old
+ new
@@ -38,10 +38,10 @@
it "should reuse an existing model_root if there is already one" do
Person.create(:name => 'Morpheus', :human => true)
m_root = Person.model_root
Person.create(:name => 'Trinity', :human => true)
- Person.model_root.should == m_root
+ Person.model_root.id.should == m_root.id
end
end
end
\ No newline at end of file