Sha256: 98f1139a6b414544c68accac7395320fdb842f4d07c10e9d5ab04a71448ccc90

Contents?: true

Size: 407 Bytes

Versions: 1

Compression:

Stored size: 407 Bytes

Contents

# encoding: UTF-8

shared_examples_for Gjp::KitRunner do
  include Gjp::Mockers

  describe "#find_executable"  do
    it "finds an executable in kit" do
      executable_path = create_mock_executable("any")
      @kit_runner.find_executable("any").should eq executable_path
    end
    it "doesn't find a Maven executable in kit" do
      @kit_runner.find_executable("any").should be_nil
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
gjp-0.39.0 spec/support/kit_runner_examples.rb