spec/command/variable_expiration_spec.rb in conjur-cli-5.6.4 vs spec/command/variable_expiration_spec.rb in conjur-cli-5.6.5
- old
+ new
@@ -1,18 +1,8 @@
require 'spec_helper'
require 'conjur/command/variables'
describe Conjur::Command::Variables, :logged_in => true do
- def invoke_silently
- real_stderr = $stderr
- $stderr = StringIO.new
- begin
- invoke
- ensure
- $stderr = real_stderr
- end
- end
-
let (:variable) { double(:name => 'foo') }
let (:incompatible_server_msg) { /not supported/ }
context "expiring a variable" do