Sha256: 14b8c4096b05564354f34d8bcfef8808133050e085af7d5ae08df4a31e3c929b

Contents?: true

Size: 684 Bytes

Versions: 3

Compression:

Stored size: 684 Bytes

Contents

Given %(I'm an Engine Yard user) do
  memorize_fact(:me, create_user(client: client))
  true
end

Given %(ey-core is configured with my cloud token) do
  add_config_option(
    'https://api.engineyard.com/' => current_user_hash['token']
  )
end

Given %(I'm associated with several accounts) do
  account1 = create_account(client: client, owner: current_user)
  account2 = create_account(client: client, owner: current_user)
  memorize_fact(:accounts, [account1, account2])
end

Then %(I see the name and ID of each of my accounts) do
  recall_fact(:accounts).each do |account|
    expect(output_text).to include(account.id)
    expect(output_text).to include(account.name)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
ey-core-3.4.4 features/step_definitions/accounts_steps.rb
ey-core-3.4.2 features/step_definitions/accounts_steps.rb
ey-core-3.4.1 features/step_definitions/accounts_steps.rb