summaryrefslogtreecommitdiff
path: root/spec/commands/install_spec.rb
diff options
context:
space:
mode:
authorBoggs <hello@boggs.xyz>2016-06-28 04:44:24 +0800
committerBoggs <hello@boggs.xyz>2016-06-28 09:20:35 +0800
commit5a1abe074aa044fc89234bcf69d66ba4336758f1 (patch)
treed68d6d0270e4df2b6c0d6328b8e6e47ab3b625d0 /spec/commands/install_spec.rb
parent04cb8658579aa2c7aeb383c21909380d07189ded (diff)
downloadbundler-5a1abe074aa044fc89234bcf69d66ba4336758f1.tar.gz
Use `Bundler::VERSION` for spec
Add TODO to change to warn in 2.0 `dup` string for old rgv `dup` string for old rgv
Diffstat (limited to 'spec/commands/install_spec.rb')
-rw-r--r--spec/commands/install_spec.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/spec/commands/install_spec.rb b/spec/commands/install_spec.rb
index 89bc5eee13..5ce0f8e24e 100644
--- a/spec/commands/install_spec.rb
+++ b/spec/commands/install_spec.rb
@@ -491,13 +491,12 @@ describe "bundle install with gem sources" do
gemfile <<-G
source "file://#{gem_repo1}"
G
- ENV["BUNDLER_VERSION"] = "1.13.0.pre.1"
bundle :install, :env => { "BUNDLE_POSTIT_TRAMPOLINING_VERSION" => "999" }
- expect(out).to include("You're running Bundler 999 but this project uses #{ENV["BUNDLER_VERSION"]}.")
+ expect(out).to include("You're running Bundler 999 but this project uses #{Bundler::VERSION}.")
bundle :install, :env => { "BUNDLE_POSTIT_TRAMPOLINING_VERSION" => "999" }
- expect(out).not_to include("You're running Bundler 999 but this project uses #{ENV["BUNDLER_VERSION"]}.")
+ expect(out).not_to include("You're running Bundler 999 but this project uses #{Bundler::VERSION}.")
end
end
end