The following test:

 def test_should_login_and_redirect
    post :login, :login => 'championship_manager', :password => 'test'
    assert session[:user]
    assert_response :redirect
    assert flash[:notice] =~ /You have logged in./, "Flash should
welcome user."
  end

Retrieves the error:
"No :secret given to the #protect_from_forgery call."

The environment/test.rb file has:
config.action_controller.allow_forgery_protection    = false

This is a strange error. Is hobo overwriting the default rails forgery
protection?

Thanks,
  TF
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Hobo 
Users" 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/hobousers?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to