Sha256: 2e7c7f084d9f0d7462d5811379e85a6fe2fd25da9d6a87d8ed1ac166858f0f9a

Contents?: true

Size: 589 Bytes

Versions: 15

Compression:

Stored size: 589 Bytes

Contents

require "rubygems"
require "bundler/setup"
require 'tempfile'
require 'ostruct'

require "simplecov"
SimpleCov.start
  
def post_response(id, attributes = {})
  attributes[:id] = id
  
  OpenStruct.new({
    headers: { location: [ collection_url, id ].join('/') }, 
    body: attributes.to_json
  })
end

# stub parameters to be used in resource/asset tests
KIND="asset_kind"
ID="unique_id" 
ROLE='<role>'
MEMBER='<member>'
PRIVILEGE='<privilege>'
OWNER='<owner/userid>'
ACCOUNT='<core_account>'

require 'conjur/command/rspec/helpers'

ENV['CONJURRC'] = '/dev/null'

require 'conjur/cli'

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
conjur-cli-4.12.0 spec/spec_helper.rb
conjur-cli-4.10.3 spec/spec_helper.rb
conjur-cli-4.10.1 spec/spec_helper.rb
conjur-cli-4.9.3 spec/spec_helper.rb
conjur-cli-4.8.0 spec/spec_helper.rb
conjur-cli-4.7.5 spec/spec_helper.rb
conjur-cli-4.7.4 spec/spec_helper.rb
conjur-cli-4.7.3 spec/spec_helper.rb
conjur-cli-4.7.2 spec/spec_helper.rb
conjur-cli-4.7.1 spec/spec_helper.rb
conjur-cli-4.7.0 spec/spec_helper.rb
conjur-cli-4.6.1 spec/spec_helper.rb
conjur-cli-4.5.1 spec/spec_helper.rb
conjur-cli-4.5.0 spec/spec_helper.rb
conjur-cli-4.4.0 spec/spec_helper.rb