diff options
author | Louise Crow <louise.crow@gmail.com> | 2015-04-23 13:27:20 +0100 |
---|---|---|
committer | Louise Crow <louise.crow@gmail.com> | 2015-04-23 13:27:20 +0100 |
commit | 8901b02a59ec24cdfd09cc5fb9c96a7cebe33d31 (patch) | |
tree | c6e507684e6a432e52f1063788a1ff5bf18bd410 /spec/controllers/general_controller_spec.rb | |
parent | 6d8960d7cd5e736fa75ca9734145f63dea04619c (diff) |
Don't redirect to signin on expiration of a non remember-me session
In practice, it's just confusing if you've been away from the site.
Diffstat (limited to 'spec/controllers/general_controller_spec.rb')
-rw-r--r-- | spec/controllers/general_controller_spec.rb | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/spec/controllers/general_controller_spec.rb b/spec/controllers/general_controller_spec.rb index ae8d4f256..844fcd4e6 100644 --- a/spec/controllers/general_controller_spec.rb +++ b/spec/controllers/general_controller_spec.rb @@ -169,7 +169,6 @@ describe GeneralController, "when showing the frontpage" do it 'should end a logged-in session whose ttl has expired' do session[:ttl] = Time.now - 4.hours get :frontpage - response.should redirect_to signin_path session[:user_id].should be_nil end |