Skip to content

Commit

Permalink
Set Current.locale before each spec in spec helper
Browse files Browse the repository at this point in the history
  • Loading branch information
veganstraightedge committed May 26, 2020
1 parent 17477cd commit cea8506
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
end

config.before do
Current.locale = FactoryBot.build_stubbed :locale
Current.theme = '2017'
end

Expand Down
1 change: 0 additions & 1 deletion spec/system/tools_index_pages_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@

describe 'Tools Pages' do
before do
Current.locale = FactoryBot.build_stubbed :locale
Current.theme = '2017'
end

Expand Down

0 comments on commit cea8506

Please sign in to comment.