Skip to content

Commit e73069e

Browse files
authored
Merge pull request #3552 from AlchemyCMS/backport/8.0-stable/pr-3551
[8.0-stable] Reset Current.site between tests
2 parents 10e76d8 + feb7837 commit e73069e

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
@@ -81,8 +81,8 @@
8181

8282
config.use_transactional_fixtures = true
8383

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

0 commit comments

Comments
 (0)