aboutsummaryrefslogtreecommitdiffstats
path: root/spec/bundler/install/gems/sudo_spec.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <hsbt@ruby-lang.org>2019-12-14 19:49:16 +0900
committerSHIBATA Hiroshi <hsbt@ruby-lang.org>2019-12-15 16:41:10 +0900
commit38002a8adbd98266426940d829429a30af0622a4 (patch)
treedb01bcc2653ba0230a07345c4a3c877246dfe473 /spec/bundler/install/gems/sudo_spec.rb
parente2b192f7d5b4f0e2133bb6cf03cfc609258826be (diff)
downloadruby-38002a8adbd98266426940d829429a30af0622a4.tar.gz
Prepare to release bundler-2.1.0
Diffstat (limited to 'spec/bundler/install/gems/sudo_spec.rb')
-rw-r--r--spec/bundler/install/gems/sudo_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/install/gems/sudo_spec.rb b/spec/bundler/install/gems/sudo_spec.rb
index fcafe4a907..170ffaca03 100644
--- a/spec/bundler/install/gems/sudo_spec.rb
+++ b/spec/bundler/install/gems/sudo_spec.rb
@@ -172,7 +172,7 @@ RSpec.describe "when using sudo", :sudo => true do
context "when ENV['BUNDLE_SILENCE_ROOT_WARNING'] is set" do
it "skips the warning" do
- bundle :install, :sudo => :preserve_env, :env => { "BUNDLE_SILENCE_ROOT_WARNING" => true }
+ bundle :install, :sudo => :preserve_env, :env => { "BUNDLE_SILENCE_ROOT_WARNING" => "true" }
expect(err).to_not include(warning)
end
end