Sha256: d373e758ec56fceee4842f85ffd0792f0bed2dae651bc1cdcccab4e88658529a

Contents?: true

Size: 350 Bytes

Versions: 3

Compression:

Stored size: 350 Bytes

Contents

require 'spec_helper'
require 'tempfile'

describe Conjur::Command::Authn do
  let(:netrcfile) { Tempfile.new 'authtest' }
  before do
    Conjur::Auth.stub netrc: Netrc.read(netrcfile.path)
  end
  describe_command 'auth:logout' do
    it "deletes credentials" do
      Conjur::Auth.should_receive :delete_credentials
      invoke
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
conjur-cli-2.1.3 spec/command/authn_spec.rb
conjur-cli-2.1.2 spec/command/authn_spec.rb
conjur-cli-2.1.1 spec/command/authn_spec.rb