Ruby on Rails
Monday, July 21, 2014
Hello,
I do still follow the Hartl tutorial.
Am at chapter 6 and according to the manual the test schould be successfull but I see these error messages:
Failures:
1) User when password doesn't match confirmation return value of authenticate method with valid password
Failure/Error: it { should eq found_user.authenticate(@user.password) }
NoMethodError:
undefined method `authenticate' for nil:NilClass
# ./spec/models/user_spec.rb:91:in `block (5 levels) in <top (required)>'
You can find my code here : https://github.com/roelof1967/sample_app_nutrious/tree/chapter_six
Roelof
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/d2a9b5fb-811f-4937-83ac-65c27577b5f2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment