diff options
author | Colby Swandale <colby@taplaboratories.com> | 2017-05-23 11:28:57 +1000 |
---|---|---|
committer | Colby Swandale <colby@taplaboratories.com> | 2017-05-23 11:28:57 +1000 |
commit | a5c83b88e0422fef0706e950751bace63bcdcfda (patch) | |
tree | dc0ac848596c087d8fbfdfdcf17ae9ed530be64a | |
parent | ac374e57e6e3da826cedf1508242118ce64a3985 (diff) | |
download | bundler-a5c83b88e0422fef0706e950751bace63bcdcfda.tar.gz |
use Settings.temporary to set error_on_stderr feature flag in rspeccolby/stderr-feature
-rw-r--r-- | spec/bundler/ui/shell_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/bundler/ui/shell_spec.rb b/spec/bundler/ui/shell_spec.rb index 050fb9c1fb..c5ccce534a 100644 --- a/spec/bundler/ui/shell_spec.rb +++ b/spec/bundler/ui/shell_spec.rb @@ -40,7 +40,7 @@ RSpec.describe Bundler::UI::Shell do end context "when stderr flag is enabled" do - before { bundle "config error_on_stderr true" } + before { Bundler.settings.temporary(:error_on_stderr => true) } it "prints to stderr" do expect { subject.error("error!!!") }.to output("error!!!\n").to_stderr end |