[rspec-users] No Method Error

15 views
Skip to first unread message

Richard Jones

unread,
Nov 22, 2013, 10:39:59 AM11/22/13
to rspec...@rubyforge.org
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...@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

David Chelimsky

unread,
Nov 22, 2013, 10:59:28 AM11/22/13
to rspec-users
Is it that you don't understand the error message or you don't understand what to do about it?

David Chelimsky

unread,
Nov 22, 2013, 11:01:24 AM11/22/13
to rs...@googlegroups.com
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 <li...@ruby-forum.com> wrote:
Reply all
Reply to author
Forward
0 new messages