search for: 31mnomethoderror

Displaying 1 result from an estimated 1 matches for "31mnomethoderror".

2012 May 24
0
Ruby on Rails Tutorial Chapter 6 RSpec tests failing
...;''[0m [36m # ./spec/models/user_spec.rb: 49:ineach''[0m [36m # ./spec/models/user_spec.rb:49:in `block (3 levels) in ''[0m 3) User return value of authenticate method with valid password [31mFailure/Error:[0m [31mit { should == found_user.authenticate(@user.password) }[0m [31mNoMethodError:[0m [31mundefined method authenticate'' for nil:NilClass←[0m [36m # ./spec/ models/user_spec.rb:94:inblock (4 levels) in ''[0m 4) User return value of authenticate method with invalid password [31mFailure/Error:[0m [31mlet(:user_for_invalid_password) { found_user.authenticate(&quot...