On Mon, May 4, 2009 at 5:17 PM, jfrankov wrote:
> I have a step definition file where I'm saving a model object and want
> to use this syntax (it's common, I see it in examples everywhere):
>
> Event.should have(1).record
This is an rspec-rails extension of ActiveRecord. It's not cucumber
(or rsp
I have a step definition file where I'm saving a model object and want
to use this syntax (it's common, I see it in examples everywhere):
Event.should have(1).record
...but it gives this error:
undefined method `record' for # (NoMethodError)
Am I missing some library or require or something? I