[rspec-users] No Method Error

Richard Jones lists at ruby-forum.com
Fri Nov 22 15:39:59 UTC 2013


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/.


More information about the rspec-users mailing list