Sha256: 5aaa3bded72dbcf751243cb3df1ca14bdef047f210524811723a4f3ef2cb58dd

Contents?: true

Size: 419 Bytes

Versions: 7

Compression:

Stored size: 419 Bytes

Contents

# encoding: UTF-8

shared_examples_for Tetra::KitRunner do
  include Tetra::Mockers

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

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
tetra-0.46.0 spec/support/kit_runner_examples.rb
tetra-0.45.0 spec/support/kit_runner_examples.rb
tetra-0.44.0 spec/support/kit_runner_examples.rb
tetra-0.43.0 spec/support/kit_runner_examples.rb
tetra-0.42.0 spec/support/kit_runner_examples.rb
tetra-0.41.0 spec/support/kit_runner_examples.rb
tetra-0.40.0 spec/support/kit_runner_examples.rb