Sha256: 8ddcb56ea1f82429e40b6e08d8e34f4ccf77cc1a9b63fd4cd47848acf02a2968

Contents?: true

Size: 837 Bytes

Versions: 13

Compression:

Stored size: 837 Bytes

Contents

# encoding: UTF-8

require 'gooddata/cli/cli'

describe 'GoodData::CLI - process', :broken => true do
  describe 'process' do
    it 'Complains when no subcommand specified' do
      args = %w(process)

      out = run_cli(args)
      out.should include "Command 'process' requires a subcommand list,show,deploy,delete,execute"
    end
  end

  describe 'process deploy' do
    it 'Can be called without arguments' do
      args = %w(process deploy)

      run_cli(args)
    end
  end

  describe 'process get' do
    it 'Can be called without arguments' do
      args = %w(process get)

      run_cli(args)
    end
  end

  describe 'process list' do
    it 'Lists processes when project ID specified' do
      args = [
        'process',
        'list',
        ProjectHelper::PROJECT_ID
      ]

      run_cli(args)
    end
  end

end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
gooddata-0.6.20 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.19 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.18 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.17 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.16 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.15 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.14 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.13 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.12 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.11 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.10 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.9 spec/unit/cli/commands/cmd_process_spec.rb
gooddata-0.6.8 spec/unit/cli/commands/cmd_process_spec.rb