> but what if my method looks like: > > user = User.where("...") > user2 = User.where("...") User.should_receive(:where).with("...").and_return(...) http://apidock.com/rspec/Spec/Mocks
Patrick J. Collins http://collinatorstudios.com
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users