[rspec-users] Why @controller is nil error on loading fixtures in model?
lists at ruby-forum.com
Sun Oct 19 10:12:00 EDT 2008
Zach Dennis wrote:
> On Sat, Oct 18, 2008 at 6:10 PM, Harry Bishop <lists at ruby-forum.com>
>> but no change.
>> I would appreciate some assistance here to get this off the ground.
> It's being you are calling "put" and I believe you want "puts". The
> method "put" is a Rails testing method which tries to invoke a PUT
> http request on a given controller action. That is why you are getting
> @controller is nil.
> Zach Dennis
yes that was the problem. That d*** dyslexia again.
Thanks very much, as frustration had set in.
Posted via http://www.ruby-forum.com/.
More information about the rspec-users