diff options
author | Samuel Giddins <segiddins@segiddins.me> | 2016-08-01 20:35:31 -0500 |
---|---|---|
committer | Samuel Giddins <segiddins@segiddins.me> | 2016-08-03 09:24:00 -0500 |
commit | 29fb4282ea198b2c62d2a580d8ab1ba1fb54de3b (patch) | |
tree | bdaaf5c6584afcfbb5416973d755c35d88f967d6 /spec/commands/exec_spec.rb | |
parent | dafad010679f89aa1b66ee1770f9f4ac4c72e386 (diff) | |
download | bundler-29fb4282ea198b2c62d2a580d8ab1ba1fb54de3b.tar.gz |
Remove expect_err from the specs & print all output on a spec failure
Diffstat (limited to 'spec/commands/exec_spec.rb')
-rw-r--r-- | spec/commands/exec_spec.rb | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/commands/exec_spec.rb b/spec/commands/exec_spec.rb index c9ca712fa5..4e2bdbbb7a 100644 --- a/spec/commands/exec_spec.rb +++ b/spec/commands/exec_spec.rb @@ -128,7 +128,7 @@ describe "bundle exec" do G end - bundle! "exec rackup", :expect_err => true + bundle! "exec rackup" expect(out).to eq("0.9.1") @@ -425,11 +425,11 @@ describe "bundle exec" do G end - install_gemfile <<-G, :expect_err => true + install_gemfile <<-G gem "foo", :path => "#{lib_path("foo-1.0")}" G - bundle "exec irb", :expect_err => true + bundle "exec irb" expect(err).to match("The gemspec at #{lib_path("foo-1.0").join("foo.gemspec")} is not valid") expect(err).to match('"TODO" is not a summary') @@ -480,7 +480,7 @@ describe "bundle exec" do let(:expected) { [exec, args, rack].join("\n") } let(:expected_err) { "" } - subject { bundle "exec #{path} arg1 arg2", :expect_err => true } + subject { bundle "exec #{path} arg1 arg2" } shared_examples_for "it runs" do it "like a normally executed executable" do |