[rspec-users] Unexpected message on :attr_accessor
dchelimsky at gmail.com
Tue Dec 4 16:00:28 EST 2007
On Dec 4, 2007 2:54 PM, Jonathan Linowes <jonathan at parkerhill.com> wrote:
> >> This should be:
> >> @user.should_receive(:password_confirmation=)
> > Lots of beginners make this mistake. Maybe RSpec's mock framework
> > should be smart enough to suggest this fix by itself.
> > Patch anyone?
> > Aslak
> perhaps be even more explicit that it's an accessor, like
This is silly. Mock frameworks are not there to help you learn the
language. Adding getter/setter knowledge into a framework is
> rspec-users mailing list
> rspec-users at rubyforge.org
More information about the rspec-users