Saturday, November 3, 2012

[Rails] Wierd NomethodError

Hello,

I have my source here : https://github.com/roelof1967/tamara

When I do cucumber I get this error message :
Then he should see "Welcome, Aslak"         # features/step_definitions/login_steps.rb:27
      undefined method `messages' for nil:NilClass (NoMethodError)
      ./features/step_definitions/login_steps.rb:28:in `/^he should see "(.*?)"$/'
      features/login.feature:6:in `Then he should see "Welcome, Aslak"'

Which I find wierd because I have a method messages made in my class Output.

Roelof

--
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msg/rubyonrails-talk/-/kwWlq8vMthoJ.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate