Sha256: f06634b33b89a2f061dffd63692897c7ef3e7251b8d201233a940bbe5e6615ce
Contents?: true
Size: 659 Bytes
Versions: 13
Compression:
Stored size: 659 Bytes
Contents
# encoding: UTF-8 require 'gooddata/cli/cli' describe 'GoodData::CLI - api', :broken => true do describe 'api' do it 'Complains when no subcommand specified' do args = %w(api) out = run_cli(args) out.should include("Command 'api' requires a subcommand info,get") end end describe 'api info' do it 'Can be called without arguments' do args = %w(api info) run_cli(args) end end describe 'api get' do it 'Can be called without arguments' do args = %w(api get) run_cli(args) end it 'Is able to get /gdc' do args = %w(api get /gdc) run_cli(args) end end end
Version data entries
13 entries across 13 versions & 1 rubygems