Sha256: 508ffcffafe23eebdf5cbc13367c55e7aa3cceb9de2fba36960ac6901dcdf777
Contents?: true
Size: 460 Bytes
Versions: 38
Compression:
Stored size: 460 Bytes
Contents
require "kontena/cli/stacks/list_command" describe Kontena::Cli::Stacks::ListCommand do include ClientHelpers include RequirementsHelper expect_to_require_current_master expect_to_require_current_master_token describe '#execute' do it 'fetches stacks from master' do stacks = { 'stacks' => [] } expect(client).to receive(:get).with('grids/test-grid/stacks').and_return(stacks) subject.run([]) end end end
Version data entries
38 entries across 38 versions & 1 rubygems