Sha256: 65eded06780c67865e65c8d00b6abaad74c691d7ae308fea330101c94c5c38c7

Contents?: true

Size: 775 Bytes

Versions: 5

Compression:

Stored size: 775 Bytes

Contents

# encoding: UTF-8
#
# Copyright (c) 2010-2015 GoodData Corporation. All rights reserved.
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree.

require 'gooddata/cli/cli'

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

      out = run_cli(args)
      out.should include "Command 'user' requires a subcommand show"
    end
  end

  describe 'user list' do
    it "Has working 'user list' command" do
      args = %w(user list)

      run_cli(args)
    end
  end

  describe 'user show' do
    it "Has working 'user show' command" do
      args = %w(user show)

      run_cli(args)
    end
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
gooddata-0.6.26 spec/unit/cli/commands/cmd_user_spec.rb
gooddata-0.6.25 spec/unit/cli/commands/cmd_user_spec.rb
gooddata-0.6.24 spec/unit/cli/commands/cmd_user_spec.rb
gooddata-0.6.23 spec/unit/cli/commands/cmd_user_spec.rb
gooddata-0.6.22 spec/unit/cli/commands/cmd_user_spec.rb