Skip to content

Commit 858b48f

Browse files
authored
Merge pull request #3551 from AlchemyCMS/fix-flaky-page-language
Reset Current.site between tests
2 parents 46f02cf + 95d0011 commit 858b48f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/rails_helper.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,8 +82,8 @@
8282

8383
config.use_transactional_fixtures = true
8484

85-
# All specs are running in transactions, but feature specs not.
8685
config.before(:each) do
86+
Alchemy::Current.site = nil
8787
::I18n.locale = :en
8888
end
8989

0 commit comments

Comments
 (0)