07 Nov 2012, 07:58
Generic-user-small

Roelof Wobben (1 post)

Hello,

I try to check if a login gives the right answer back.
According to thus book I can do that by using a class Output.
But when I do this on my own code I get a undefined method `messages’ for nil:NilClass (NoMethodError)

You can find my step-definitions here: https://github.com/roelof1967/tamara/blob/maste…

Regards,

Roelof

26 Feb 2013, 04:56
Dchelimsky_pragsmall

David Chelimsky (206 posts)

Hi Roelof – sorry to keep you waiting so long. I’m not sure if this is the problem in your example, but the step definition on lines https://github.com/roelof1967/tamara/blob/maste… has a block argument arg1, but references message instead. HTH, David

  You must be logged in to comment