Sha256: 0850d4b754ec058a1ed75cde6872eed983c79913a0c6b906c656c6eb0f3ed176

Contents?: true

Size: 419 Bytes

Versions: 45

Compression:

Stored size: 419 Bytes

Contents

require_relative "../../../spec_helper"
require 'kontena/cli/grid_options'
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

45 entries across 45 versions & 1 rubygems

Version Path
kontena-cli-1.1.6 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.5 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.5.rc3 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.5.rc2 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.5.rc1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.4 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.3 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.2 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.2.rc2 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.2.rc1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.1.rc1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.0 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.0.rc2 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.0.rc1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.1.0.pre1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.0.6 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.0.6.rc1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.0.5 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-1.0.5.rc1 spec/kontena/cli/containers/list_command_spec.rb