Skip to content

Commit

Permalink
Fix "already initialized constant" warnings about Spree::User
Browse files Browse the repository at this point in the history
  • Loading branch information
elia committed Jul 4, 2022
1 parent 3f12534 commit 3b1d90e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions spec/support/confirm_helpers.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
begin
example.run
ensure
Spree.send(:remove_const, :User)
Spree.const_set('User', old_user)
end
else
Expand Down

0 comments on commit 3b1d90e

Please sign in to comment.