spec/cubbyhole_spec.rb in cubbyhole-0.1.0 vs spec/cubbyhole_spec.rb in cubbyhole-0.1.1

- old
+ new

@@ -48,6 +48,12 @@ fetched = NewModel.get(model.id) fetched.foo.should == "baz" fetched.bar.should == "zot" end + + it "finds all objects" do + 3.times { MyModel.create } + + MyModel.all.size.should == 3 + end end