summaryrefslogtreecommitdiff
path: root/spec/runtime/with_clean_env_spec.rb
diff options
context:
space:
mode:
authorSamuel Giddins <segiddins@segiddins.me>2016-08-01 20:35:31 -0500
committerSamuel Giddins <segiddins@segiddins.me>2016-08-03 09:24:00 -0500
commit29fb4282ea198b2c62d2a580d8ab1ba1fb54de3b (patch)
treebdaaf5c6584afcfbb5416973d755c35d88f967d6 /spec/runtime/with_clean_env_spec.rb
parentdafad010679f89aa1b66ee1770f9f4ac4c72e386 (diff)
downloadbundler-29fb4282ea198b2c62d2a580d8ab1ba1fb54de3b.tar.gz
Remove expect_err from the specs & print all output on a spec failure
Diffstat (limited to 'spec/runtime/with_clean_env_spec.rb')
-rw-r--r--spec/runtime/with_clean_env_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/runtime/with_clean_env_spec.rb b/spec/runtime/with_clean_env_spec.rb
index 5ab72ed1ce..b2ab088370 100644
--- a/spec/runtime/with_clean_env_spec.rb
+++ b/spec/runtime/with_clean_env_spec.rb
@@ -38,7 +38,7 @@ describe "Bundler.with_env helpers" do
RB
path = `getconf PATH`.strip + File::PATH_SEPARATOR + File.dirname(Gem.ruby)
with_path_as(path) do
- bundle!("exec ruby #{bundled_app("exe.rb")} 2", :expect_err => true)
+ bundle!("exec ruby #{bundled_app("exe.rb")} 2")
end
expect(err).to eq <<-EOS.strip
2 false