Sha256: f838bc20f1db552eefbe8294c2523d77d82255771f0da5fb290f872ca76aca2a

Contents?: true

Size: 530 Bytes

Versions: 4

Compression:

Stored size: 530 Bytes

Contents

require_relative "spec_helper"

include CliTester

describe "Command line interface" do
  include GivenFilesystemSpecHelpers

  use_given_filesystem

  describe "list" do
    it "lists libraries" do

      dir = given_directory do
        given_directory_from_data("awesomelib")
        given_directory_from_data("newlib")
      end

      result = run_command(args: ["list", "--remote", "--offline",
        "--manifest_dir=#{dir}"])
      expect(result).to exit_with_success("awesomelib (0.2.0)\nnewlib ()\n")
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
inqlude-0.7.4 spec/integration/cli_list_spec.rb
inqlude-0.7.3 spec/integration/cli_list_spec.rb
inqlude-0.7.2 spec/integration/cli_list_spec.rb
inqlude-0.7.1 spec/integration/cli_list_spec.rb