summaryrefslogtreecommitdiff
path: root/spec/support/hax.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/hax.rb')
-rw-r--r--spec/support/hax.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/spec/support/hax.rb b/spec/support/hax.rb
index d00bf619a9..663d3527c5 100644
--- a/spec/support/hax.rb
+++ b/spec/support/hax.rb
@@ -10,6 +10,7 @@ end
if ENV["BUNDLER_SPEC_VERSION"]
module Bundler
+ remove_const(:VERSION) if const_defined?(:VERSION)
VERSION = ENV["BUNDLER_SPEC_VERSION"].dup
end
end