Sha256: aa2929ce73eb865c900ee1068366c349f6fb943d75e2ed84b50dfa281ecec1f5

Contents?: true

Size: 344 Bytes

Versions: 9

Compression:

Stored size: 344 Bytes

Contents

require "kontena/cli/containers/list_command"

describe Kontena::Cli::Containers::ListCommand do
  include ClientHelpers

  context "for a single container with logs" do

    it "fetches containers" do
      expect(client).to receive(:get).with('containers/test-grid?').and_return({'containers' => []})

      subject.run([])
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
kontena-cli-1.3.0.pre1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.2.2 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.2.2.rc2 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.2.2.rc1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.2.1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.2.1.rc1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.2.0 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.2.0.rc3 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.2.0.rc2 spec/kontena/cli/containers/list_command_spec.rb