Sha256: f8b8eda6b3760d23e26cde594e73bad38bb9b6062c32117256267c557a61d188

Contents?: true

Size: 413 Bytes

Versions: 30

Compression:

Stored size: 413 Bytes

Contents

require 'spec_helper'
require 'ey-core/cli/accounts'

describe Ey::Core::Cli::Accounts do
  set_up_cli

  context 'ey-core recipes accounts' do
    it 'lists my account ids' do
      execute

      expect(standard_output).to match(/#{Regexp.escape(account.id)}/)
    end

    it 'lists my account names' do
      execute

      expect(standard_output).to match(/#{Regexp.escape(account.name)}/)
    end
  end
end

Version data entries

30 entries across 30 versions & 2 rubygems

Version Path
ey-core-3.6.0.autoscaling1 spec/ey-core/cli/accounts_spec.rb
ey-core-3.6.4 spec/ey-core/cli/accounts_spec.rb
ey-core-3.6.3 spec/ey-core/cli/accounts_spec.rb
ey-core-3.6.1 spec/ey-core/cli/accounts_spec.rb
groove-ey-core-3.6.3 spec/ey-core/cli/accounts_spec.rb
groove-ey-core-3.6.2 spec/ey-core/cli/accounts_spec.rb
groove-ey-core-3.6.1 spec/ey-core/cli/accounts_spec.rb
ey-core-3.5.0 spec/ey-core/cli/accounts_spec.rb
ey-core-3.4.4 spec/ey-core/cli/accounts_spec.rb
ey-core-3.4.2 spec/ey-core/cli/accounts_spec.rb
ey-core-3.4.1 spec/ey-core/cli/accounts_spec.rb
ey-core-3.4.0 spec/ey-core/cli/accounts_spec.rb
ey-core-3.3.1 spec/ey-core/cli/accounts_spec.rb
ey-core-3.3.0 spec/ey-core/cli/accounts_spec.rb
ey-core-3.2.6 spec/ey-core/cli/accounts_spec.rb
ey-core-3.2.5 spec/ey-core/cli/accounts_spec.rb
ey-core-3.2.4 spec/ey-core/cli/accounts_spec.rb
ey-core-3.2.3 spec/ey-core/cli/accounts_spec.rb
ey-core-3.2.2 spec/ey-core/cli/accounts_spec.rb
ey-core-3.2.1 spec/ey-core/cli/accounts_spec.rb