Sha256: 18f6884493d4b40a9edb710fc68d8ecf4967b383edcc25d512bb6367e5d1b44a

Contents?: true

Size: 655 Bytes

Versions: 5

Compression:

Stored size: 655 Bytes

Contents

Then(/^I(?: can)? type and confirm a new password/) do
  @password = "SEcret12!!!!"
  step %Q(I type "#{@password}")
  step %Q(I type "#{@password}")
  step "the exit status should be 0"
end

When(/^I enter the password/) do
  raise "No current password" unless @password
  step %Q(I type "#{@password}")
end

When(/^I type the API key for "(.*?)"$/) do |username|
  step %Q(I type "#{api_key_of username}")
end

Given(/^I login as "(.*?)"$/) do |username|
  api_key = api_key_of username

  step %Q(I set the environment variable "CONJUR_AUTHN_LOGIN" to "#{username}")
  step %Q(I set the environment variable "CONJUR_AUTHN_API_KEY" to "#{api_key}")
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
conjur-cli-6.2.6 features/step_definitions/authn_steps.rb
conjur-cli-6.2.5 features/step_definitions/authn_steps.rb
conjur-cli-6.2.4 features/step_definitions/authn_steps.rb
conjur-cli-6.2.3 features/step_definitions/authn_steps.rb
conjur-cli-6.2.2 features/step_definitions/authn_steps.rb