small medium large xlarge

Back to: All Forums  The RSpec Book
07 Nov 2012, 07:58
Roelof Wobben (2 posts)


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:



26 Feb 2013, 04:56
David Chelimsky (203 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 has a block argument @arg1@, but references @message@ instead. HTH, David

You must be logged in to comment