diff options
Diffstat (limited to 'spec/bundler/friendly_errors_spec.rb')
-rw-r--r-- | spec/bundler/friendly_errors_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/bundler/friendly_errors_spec.rb b/spec/bundler/friendly_errors_spec.rb index cac83aa6f5..83651dfdf7 100644 --- a/spec/bundler/friendly_errors_spec.rb +++ b/spec/bundler/friendly_errors_spec.rb @@ -43,11 +43,11 @@ describe Bundler, "friendly errors" do end it "rescues Thor::AmbiguousTaskError and raises SystemExit" do - expect { + expect do Bundler.with_friendly_errors do raise Thor::AmbiguousTaskError.new("") end - }.to raise_error(SystemExit) + end.to raise_error(SystemExit) end describe "#issues_url" do |