mirror of
https://github.com/CodeforLeipzig/stadtratmonitor.git
synced 2024-12-22 23:53:15 +01:00
Fix return path in authentication integration test
This commit is contained in:
parent
ebca521e2f
commit
e87192888a
1 changed files with 2 additions and 2 deletions
|
@ -6,11 +6,11 @@ class AuthenticationTest < ActionDispatch::IntegrationTest
|
|||
fill_in 'Name', with: 'me'
|
||||
fill_in 'Email', with: 'user@example.com'
|
||||
click_button 'Sign In'
|
||||
assert_equal '/', current_path
|
||||
assert_equal '/leipzig', current_path
|
||||
assert_is_signed_in
|
||||
|
||||
click_link 'Abmelden'
|
||||
assert_equal '/', current_path
|
||||
assert_equal '/leipzig', current_path
|
||||
assert_is_signed_out
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue