Merge pull request #735 from codegram/change_default_locale
Use `en` as default locale on tests
This commit is contained in:
@@ -21,6 +21,7 @@ RSpec.configure do |config|
|
||||
config.before(:each) do |example|
|
||||
DatabaseCleaner.strategy = example.metadata[:js] ? :truncation : :transaction
|
||||
DatabaseCleaner.start
|
||||
I18n.locale = :en
|
||||
load "#{Rails.root}/db/seeds.rb"
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user