Sha256: 9791d6fad980042dff1b61d4a8271ea164bb36093ee537fc6d9b2a0cc64631dc

Contents?: true

Size: 586 Bytes

Versions: 5

Compression:

Stored size: 586 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", from: "manifests/awesomelib")
        given_directory_from_data("newlib", from: "manifests/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

5 entries across 5 versions & 1 rubygems

Version Path
inqlude-0.12.0 spec/integration/cli_list_spec.rb
inqlude-0.11.0 spec/integration/cli_list_spec.rb
inqlude-0.10.0 spec/integration/cli_list_spec.rb
inqlude-0.9.0 spec/integration/cli_list_spec.rb
inqlude-0.8.0 spec/integration/cli_list_spec.rb