On 18 January 2012 04:54, muhammad singgih zulfikar ansori
<[email protected]> wrote:
> I need some help please..
> when I created web application about books market, i create a cart and using
> test the message error appear like this on rake test:functionals
>
>> LineItemsControllerTest
>>      test_should_create_line_item
>>  ERROR
>>         Cannot redirect to nil!

Is that all it says?  Is there no stack trace?  If there is show us
the complete error and stack trace (either from the test or from the
website itself), and the code around where the error is generated.
Presumably there is a redirect call there, look closely at it to see
why it might be trying to redirect to nil.

Colin

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Talk" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to