Hi,
I just switched from storing my sessions on disk to storing them in
MySQL. Changing environment.rb ‘config.action_controller.session_store =
:active_record_store’. But now all my tests fail. I get the following
error:
- Failure:
test_authorized_new(AdControllerTest)
[c:/ruby/lib/ruby/gems/1.8/gems/actionpack-1.11.2/lib/action_controller/depr
ecated_assertions.rb:23:inassert_session_has' ./functional/../test_helper.rb:34:in
login’
functional/ad_controller_test.rb:49:in `test_authorized_new’]:
<:user_id> is not in the session
<#<ActionController::TestSession:0x31d2198 @attributes={“flash”=>{}}>>
Have I overlooked something?
Kind regards,
Nick