Skip to content

Commit 3b1d90e

Browse files
committed
Fix "already initialized constant" warnings about Spree::User
1 parent 3f12534 commit 3b1d90e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

spec/support/confirm_helpers.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
begin
99
example.run
1010
ensure
11+
Spree.send(:remove_const, :User)
1112
Spree.const_set('User', old_user)
1213
end
1314
else

0 commit comments

Comments
 (0)