[rspec-users] wrong number of arguments (2 for 1)

Yi Wen hayafirst at gmail.com
Wed Feb 25 17:50:53 EST 2009


The following statement gave me "wrong number of arguments (2 for 1)" and it
is the only error. no stack trace.
        presenter.stub!(:account).and_return account

any idea? Thanks

Yi
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20090225/8e667eea/attachment.html>


More information about the rspec-users mailing list