Sha256: c5df38726b09e698be0aa8b4f04255585708cd36ee18578fc6c470aeb2bf290b

Contents?: true

Size: 382 Bytes

Versions: 1

Compression:

Stored size: 382 Bytes

Contents

require_relative "../../spec_helper.rb"
require_relative "../../../lib/vendorise/tasks"

module Vendorise
  describe "rake vendorise:gem" do
    subject(:task) { Rake::Task["vendorise:gem"] }

    it "defines vendorise:gem" do
      expect(task).to_not eq nil
    end

    it "accepts a url argument" do
      expect(task.arg_names).to match_array [:url, :branch]
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
vendorise-0.3.0 spec/lib/vendorise/tasks_spec.rb