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

David Chelimsky dchelimsky at gmail.com
Wed Feb 25 18:04:28 EST 2009


On Wed, Feb 25, 2009 at 4:50 PM, Yi Wen <hayafirst at gmail.com> wrote:
> The following statement gave me "wrong number of arguments (2 for 1)" and it
> is the only error. no stack trace.

try running with --backtrace

>         presenter.stub!(:account).and_return account
> any idea? Thanks
> Yi
>
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>


More information about the rspec-users mailing list