mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-21 21:40:48 +02:00
Fix the new locale test breaking other tests because of the locale user bleeding to other tests (models)
This commit is contained in:
parent
ca54386523
commit
4ab8837c2c
1 changed files with 3 additions and 0 deletions
|
@ -17,6 +17,9 @@ class LocaleTest < ActionDispatch::IntegrationTest
|
|||
assert_response :success
|
||||
assert_template "todos/index"
|
||||
end
|
||||
|
||||
# Finally log in as normal admin user to prevent other tests from failing to the non-English locale.
|
||||
logs_in_as(users(:admin_user), 'abracadabra')
|
||||
end
|
||||
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue