With Rspec 2.13.0, I was able to do
Foo.where(bar: 1, baz: 2).should exist
Edit:
Rspec now has an expect syntax:
expect(Foo.where(bar: 1, bax: 2)).to exist
With Rspec 2.13.0, I was able to do
Foo.where(bar: 1, baz: 2).should exist
Edit:
Rspec now has an expect syntax:
expect(Foo.where(bar: 1, bax: 2)).to exist