summaryrefslogtreecommitdiff
path: root/spec/bundler/friendly_errors_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/bundler/friendly_errors_spec.rb')
-rw-r--r--spec/bundler/friendly_errors_spec.rb8
1 files changed, 4 insertions, 4 deletions
diff --git a/spec/bundler/friendly_errors_spec.rb b/spec/bundler/friendly_errors_spec.rb
index ae197a4bab..04462aa25a 100644
--- a/spec/bundler/friendly_errors_spec.rb
+++ b/spec/bundler/friendly_errors_spec.rb
@@ -23,10 +23,10 @@ describe Bundler, "friendly errors" do
bundle :install, :env => { "DEBUG" => true }
- expect(out).to include("Your RubyGems configuration")
- expect(out).to include("invalid YAML syntax")
- expect(out).to include("Psych::SyntaxError")
- expect(out).not_to include("ERROR REPORT TEMPLATE")
+ expect(err).to include("Your RubyGems configuration")
+ expect(err).to include("invalid YAML syntax")
+ expect(err).to include("Psych::SyntaxError")
+ expect(err).not_to include("ERROR REPORT TEMPLATE")
expect(exitstatus).to eq(25) if exitstatus
end