summaryrefslogtreecommitdiff
path: root/spec/commands
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-28 12:18:40 +0100
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-11-28 15:37:18 +0100
commit9bac88a953902e2f4e73ac4650a9692f2c03b172 (patch)
treedac20914a48dc1ed5267851612d553fee3b54487 /spec/commands
parentc3eae8ea436af06ab2c3f4bdd25bd9dd6e7c9eef (diff)
downloadbundler-9bac88a953902e2f4e73ac4650a9692f2c03b172.tar.gz
Always pass env as strings to helpers
Diffstat (limited to 'spec/commands')
-rw-r--r--spec/commands/binstubs_spec.rb2
-rw-r--r--spec/commands/install_spec.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/spec/commands/binstubs_spec.rb b/spec/commands/binstubs_spec.rb
index df10bd3498..7c04e8ddbd 100644
--- a/spec/commands/binstubs_spec.rb
+++ b/spec/commands/binstubs_spec.rb
@@ -458,7 +458,7 @@ RSpec.describe "bundle binstubs <gem>" do
G
bundle "config set auto_install 1"
- bundle "binstubs rack", :env => { "BUNDLE_INSTALL" => 1 }
+ bundle "binstubs rack", :env => { "BUNDLE_INSTALL" => "1" }
expect(out).not_to include("Installing rack 1.0.0")
end
end
diff --git a/spec/commands/install_spec.rb b/spec/commands/install_spec.rb
index 8e161a4aae..b57d81b10a 100644
--- a/spec/commands/install_spec.rb
+++ b/spec/commands/install_spec.rb
@@ -45,7 +45,7 @@ RSpec.describe "bundle install with gem sources" do
gem "rack"
G
- bundle! :install, :env => { "BUNDLE_PATH__SYSTEM" => true } # can't use install_gemfile since it sets retry
+ bundle! :install, :env => { "BUNDLE_PATH__SYSTEM" => "true" } # can't use install_gemfile since it sets retry
expect(bundled_app(".bundle")).not_to exist
end