diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index e423172c7..302549a0e 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -7,6 +7,7 @@ end config.before do + Current.locale = FactoryBot.build_stubbed :locale Current.theme = '2017' end diff --git a/spec/system/tools_index_pages_spec.rb b/spec/system/tools_index_pages_spec.rb index 5c8d083ad..670339a1b 100644 --- a/spec/system/tools_index_pages_spec.rb +++ b/spec/system/tools_index_pages_spec.rb @@ -2,7 +2,6 @@ describe 'Tools Pages' do before do - Current.locale = FactoryBot.build_stubbed :locale Current.theme = '2017' end