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.0.0.pre1 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-0.17.0.pre5 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-0.17.0.pre4 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-0.17.0.pre3 spec/kontena/cli/containers/list_command_spec.rb
kontena-cli-0.17.0.pre2 spec/kontena/cli/containers/list_command_spec.rb