Sha256: b83949fc5208a4a17df78593efa98986cc0d5669246784338ff92932db332d77

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

require 'gooddata/cli/cli'

describe GoodData::CLI do
  it "Has working 'api' command" do
    args = %w(api)

    out = run_cli(args)
    out.should include("Command 'api' requires a subcommand info,get")
  end

  it "Has working 'api info' command" do
    args = %w(api info)

    run_cli(args)
  end

  it "Has working 'api get' command" do
    args = %w(api get)

    run_cli(args)
  end

  it "Has working 'api get /gdc' command" do
    args = %w(api get /gdc)

    run_cli(args)
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gooddata-0.6.0 spec/unit/cli/commands/cmd_api_spec.rb