Skip to content

Commit

Permalink
34 Fix failing session request spec
Browse files Browse the repository at this point in the history
cpreisinger committed Aug 10, 2024
1 parent d31cd9e commit 745a193
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/requests/sessions_request_spec.rb
Original file line number Diff line number Diff line change
@@ -55,7 +55,7 @@
expect(session[:userinfo]).not_to be_nil
expect(session[:session_timeout_at]).not_to be_nil

travel_to session_timeout_in_minutes.to_i.minutes.from_now do
travel_to (session_timeout_in_minutes.to_i + 1).minutes.from_now do
get dashboard_path

expect(session[:userinfo]).to be_nil

0 comments on commit 745a193

Please sign in to comment.