[rspec-users] rspec controller test strange error: undefined method `call' for nil:NilClass

2010-07-03 Thread Doug
must be doing something dumb not sure, but the 'call' appears to be on the block.call when the respond_to block gets executed. straight forward channels resource with a 'create' action only new thing is just assigning the current_user to the model. def create @channel =

[rspec-users] Rspec controller test

2007-08-07 Thread Shaker
Great Hi to everybody! I am currently working on a project which tests the controllers using rspec. I came across some methods in the controller which do not generate any actions at all. However, they still need testing! Some of these methods do require parameters. I am wondering how I can pass

Re: [rspec-users] Rspec controller test

2007-08-07 Thread David Chelimsky
On 8/7/07, Shaker [EMAIL PROTECTED] wrote: Great Hi to everybody! I am currently working on a project which tests the controllers using rspec. I came across some methods in the controller which do not generate any actions at all. However, they still need testing! Some of these methods do