Sha256: 4b3973576c3f24c9a1387ac7ee45c5946a9d78d5c1e08b576c75b5826d21667c
Contents?: true
Size: 697 Bytes
Versions: 5
Compression:
Stored size: 697 Bytes
Contents
$LOAD_PATH.unshift File.expand_path('../..', File.dirname(__FILE__)) require 'json_spec/cucumber' require 'aruba/cucumber' require 'json_spec/cucumber' require 'simplecov' SimpleCov.start do command_name "#{ENV['RUBY_VERSION']}" end ENV['CONJUR_APPLIANCE_URL'] ||= 'http://localhost/api/v6' ENV['CONJUR_ACCOUNT'] ||= 'cucumber' require 'conjur/cli' Conjur::Config.load Conjur::Config.apply $netrc_file_path = ENV['CONJURRC'] || File.expand_path('~/.netrc') if File.exists?($netrc_file_path) $netrc_file = File.read($netrc_file_path) end $conjur = Conjur::Authn.connect nil, noask: true puts "Performing CLI tests as user '#{$conjur.current_role(Conjur.configuration.account).login}'"
Version data entries
5 entries across 5 versions & 1 rubygems