[rspec-users] Not sure why this is failing

Scott Taylor mailing_lists at railsnewbie.com
Sun Nov 18 00:12:56 EST 2007

On Nov 18, 2007, at 12:04 AM, Chris Olsen wrote:

> Steve Ross wrote:
>> Try with(nil)
>> I think params[:user] will return nil.
> yip that works, after fooling with it I also found that :any_args  
> works
> as well as any (I guess this one is more than just a symbol)
> Thanks for the help.

I think :any_args is deprecated, and you should use any_args()  
instead (just FYI).

Glad you figured it out.


More information about the rspec-users mailing list