Sha256: 2276786586e88a30c7b9659b58dd77db49a76bc84629ae62ce94951aae62f721

Contents?: true

Size: 559 Bytes

Versions: 9

Compression:

Stored size: 559 Bytes

Contents

require_relative "spec_helper"

include CliTester

describe "Command line interface" do
  include GivenFilesystemSpecHelpers

  use_given_filesystem

  describe "create" do
    it "creates new manifest" do

      dir = given_directory

      result = run_command(args: ["create", "--offline",
        "--manifest_dir=#{dir}", "newlib", "42.1", "2015-06-13"],
        working_directory: dir)
      expect(result).to exit_with_success("")

      expect(File.exist?(File.join(dir, "newlib", "newlib.2015-06-13.manifest"))).
        to be(true)
    end
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
inqlude-0.12.0 spec/integration/cli_create_spec.rb
inqlude-0.11.0 spec/integration/cli_create_spec.rb
inqlude-0.10.0 spec/integration/cli_create_spec.rb
inqlude-0.9.0 spec/integration/cli_create_spec.rb
inqlude-0.8.0 spec/integration/cli_create_spec.rb
inqlude-0.7.4 spec/integration/cli_create_spec.rb
inqlude-0.7.3 spec/integration/cli_create_spec.rb
inqlude-0.7.2 spec/integration/cli_create_spec.rb
inqlude-0.7.1 spec/integration/cli_create_spec.rb