Skip to content

Commit

Permalink
Remove order-dependency from locale specs
Browse files Browse the repository at this point in the history
This commit removes an implicit order dependency in the frontend locale
specs.
  • Loading branch information
Graeme Nathan committed Apr 9, 2018
1 parent e3cad4c commit 7d9f131
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/spec/support/shared_contexts/locales.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
end

after do
I18n.locale = :en # reset locale after each spec.
I18n.reload!
end
end

0 comments on commit 7d9f131

Please sign in to comment.