summaryrefslogtreecommitdiff
path: root/spec/commands/install_spec.rb
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-04 22:23:44 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-04-11 13:25:59 +0200
commitb9baa34673b96419410bd7c61d379bc8c89d798e (patch)
treeacd392e65c87618a82afbd9d6051de4dddc6e387 /spec/commands/install_spec.rb
parent4e96e9b7b921a2792f14e9127c7d9a0838832e57 (diff)
downloadbundler-b9baa34673b96419410bd7c61d379bc8c89d798e.tar.gz
Move on to bundler 3
* Drop bundler 1 stuff from tests. * Move all feature flags to bundler 3 (like they are in 2-0-stable) and get them tested.
Diffstat (limited to 'spec/commands/install_spec.rb')
-rw-r--r--spec/commands/install_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/commands/install_spec.rb b/spec/commands/install_spec.rb
index c198797862..21157dd309 100644
--- a/spec/commands/install_spec.rb
+++ b/spec/commands/install_spec.rb
@@ -29,7 +29,7 @@ RSpec.describe "bundle install with gem sources" do
expect(bundled_app("Gemfile.lock")).to exist
end
- it "does not create ./.bundle by default", :bundler => "< 2" do
+ it "does not create ./.bundle by default", :bundler => "< 3" do
gemfile <<-G
source "file://#{gem_repo1}"
gem "rack"
@@ -275,14 +275,14 @@ RSpec.describe "bundle install with gem sources" do
expect(the_bundle).to include_gems "rack 1.0"
end
- it "allows running bundle install --system without deleting foo", :bundler => "< 2" do
+ it "allows running bundle install --system without deleting foo", :bundler => "< 3" do
bundle "install", forgotten_command_line_options(:path => "vendor")
bundle "install", forgotten_command_line_options(:system => true)
FileUtils.rm_rf(bundled_app("vendor"))
expect(the_bundle).to include_gems "rack 1.0"
end
- it "allows running bundle install --system after deleting foo", :bundler => "< 2" do
+ it "allows running bundle install --system after deleting foo", :bundler => "< 3" do
bundle "install", forgotten_command_line_options(:path => "vendor")
FileUtils.rm_rf(bundled_app("vendor"))
bundle "install", forgotten_command_line_options(:system => true)
@@ -290,7 +290,7 @@ RSpec.describe "bundle install with gem sources" do
end
end
- it "finds gems in multiple sources", :bundler => "< 2" do
+ it "finds gems in multiple sources", :bundler => "< 3" do
build_repo2
update_repo2