Ooops there was a typo on the method causing the error.  It should be:

It is this test that fails
it "should make the relation to the users" do
  @account.should_receive(:users)  # removed the .and_return
  do_post
end

Is there a better way to test that the data is being loaded into the 
related models properly?
-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to