Sha256: 091a0725af7021ce2be4ad98e0cc780300e98e67171fed478ee25fa7927ef960
Contents?: true
Size: 661 Bytes
Versions: 6
Compression:
Stored size: 661 Bytes
Contents
Then(/^I(?: can)? type and confirm a new password/) do @password = SecureRandom.hex(12) 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
6 entries across 6 versions & 1 rubygems