Sha256: 4c91b96ca075c9207f920da9f317034c658626289ea8cb4c84ffd1f8a886c59e

Contents?: true

Size: 359 Bytes

Versions: 5

Compression:

Stored size: 359 Bytes

Contents

require 'spec_helper'

describe Conjur::Host do
  let(:login) { 'the-login' }
  let(:api_key) { 'the-api-key' }
  let(:credentials) { { user: login, password: api_key } }
  let(:account) { 'test-account' }

  before { Conjur::Core::API.stub conjur_account: account }

  subject { Conjur::Host.new 'hostname', credentials }

  its(:resource) { should be }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
conjur-api-2.4.0 spec/lib/host_spec.rb
conjur-api-2.3.1 spec/lib/host_spec.rb
conjur-api-2.2.3 spec/lib/host_spec.rb
conjur-api-2.2.2 spec/lib/host_spec.rb
conjur-api-2.2.1 spec/lib/host_spec.rb