spec/has_many.rb in datamapper-0.1.0 vs spec/has_many.rb in datamapper-0.1.1

- old
+ new

@@ -16,10 +16,10 @@ end it 'should lazily-load the association when Enumerable methods are called' do database do |db| @san_diego.exhibits.size.should == 2 - @san_diego.exhibits.should include(@san_diego.session.find(Exhibit, :first, :name => 'Monkey Mayhem')) + @san_diego.exhibits.should include(@san_diego.session.first(Exhibit, :name => 'Monkey Mayhem')) end end it 'should eager-load associations for an entire set' do zoos = Zoo.all \ No newline at end of file