Fix return path in authentication integration test

This commit is contained in:
Lars Henrik Mai 2015-09-27 13:53:07 +02:00
parent ebca521e2f
commit e87192888a

View file

@ -6,11 +6,11 @@ class AuthenticationTest < ActionDispatch::IntegrationTest
fill_in 'Name', with: 'me' fill_in 'Name', with: 'me'
fill_in 'Email', with: 'user@example.com' fill_in 'Email', with: 'user@example.com'
click_button 'Sign In' click_button 'Sign In'
assert_equal '/', current_path assert_equal '/leipzig', current_path
assert_is_signed_in assert_is_signed_in
click_link 'Abmelden' click_link 'Abmelden'
assert_equal '/', current_path assert_equal '/leipzig', current_path
assert_is_signed_out assert_is_signed_out
end end