On Thu, Feb 26, 2009 at 4:39 AM, Nick Hoffman <n...@deadorange.com> wrote:

>
> Hi Suprie. AFAIK, RSpec populates the "request" object in your specs after
> a controller action is called. Since your "should know if it's from
> blackberry" example doesn't call a controller action, the "request" object
> is nil.
> -Nick


so i should put the test on controller spec then ?

-- 
--
Best Regards
Suprie
http://suprie.in.ruangkopi.com

"Mendapat upah karena menyenangkan orang lain yang tidak punya persangkutan
dengan kata hati sendiri, kan itu dalam seni namanya pelacuran?"
_______________________________________________
rspec-users mailing list
rspec-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/rspec-users

Reply via email to