spec/spec_helper.rb in conjur-cli-5.6.4 vs spec/spec_helper.rb in conjur-cli-5.6.5
- old
+ new
@@ -45,9 +45,13 @@
Conjur::Config.clear
Conjur.configuration = @configuration
}
end
+def invoke_silently
+ STDERR.grab { return invoke }
+end
+
RSpec::Core::DSL.change_global_dsl do
def describe_conjurize *argv, &block
describe *argv do
let(:command) { Conjur::Conjurize }
let(:invoke) do