search for: user_for_invalid_password

Displaying 1 result from an estimated 1 matches for "user_for_invalid_password".

2012 May 24
0
Ruby on Rails Tutorial Chapter 6 RSpec tests failing
...d_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("invalid") }[0m [31mNoMethodError:[0m [31mundefined method authenticate'' for nil:NilClass[0m [36m # ./spec/ models/user_spec.rb:98:inblock (4 levels) in ''[0m [36m # ./spec/models/ user_spec.rb:100:in `block (4 levels) in ''[0m 5) User...