Skip to content

Commit

Permalink
Add spec.
Browse files Browse the repository at this point in the history
  • Loading branch information
CraigJZ committed Jun 18, 2024
1 parent e942c04 commit 00ebc2b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/controllers/sessions_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ class SessionsControllerTest < ActionDispatch::IntegrationTest
end

test 'destroy action redirects to the root path' do

get '/logout'
assert_redirected_to root_path
end
end

0 comments on commit 00ebc2b

Please sign in to comment.