[rspec-users] No Method Error

David Chelimsky dchelimsky at gmail.com
Fri Nov 22 15:59:28 UTC 2013


Is it that you don't understand the error message or you don't understand
what to do about it?


On Fri, Nov 22, 2013 at 9:39 AM, Richard Jones <lists at ruby-forum.com> wrote:

> Hi,
>
> I'm getting the error below, can someone explain what I need to do?
>
> Failure/Error: @numbers.exchange(1).should be_true
> NoMethodError:
>  private method 'exchange' called for #<Numbers_Game>
> # ./numbers_spec.rb:55:in 'block (2 levels) in <top (required)>'
>
> Greatly appreciated
>
> Richy
>
> --
> Posted via http://www.ruby-forum.com/.
> _______________________________________________
> rspec-users mailing list
> rspec-users at rubyforge.org
> http://rubyforge.org/mailman/listinfo/rspec-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/rspec-users/attachments/20131122/aaab1e41/attachment.html>


More information about the rspec-users mailing list