From 9bac88a953902e2f4e73ac4650a9692f2c03b172 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?David=20Rodr=C3=ADguez?= Date: Thu, 28 Nov 2019 12:18:40 +0100 Subject: Always pass env as strings to helpers --- spec/commands/binstubs_spec.rb | 2 +- spec/commands/install_spec.rb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/commands') 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 " 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 -- cgit v1.2.1