Sha256: 612e83a3f9f4b4f4ef49c7876fc655a388d49f507fd43beba4522e419b5aa57b
Contents?: true
Size: 600 Bytes
Versions: 5
Compression:
Stored size: 600 Bytes
Contents
# encoding: UTF-8 require "spec_helper" describe Tetra::Kit do include Tetra::Mockers before(:each) do create_mock_project end let(:instance) { Tetra::Kit.new(@project) } after(:each) do delete_mock_project end describe "#find_executable" do it "finds an executable in kit" do executable_path = create_mock_executable("any") expect(instance.find_executable("any")).to eq executable_path end it "doesn't find an executable in kit" do expect { instance.find_executable("any") }.to raise_error(Tetra::ExecutableNotFoundError) end end end
Version data entries
5 entries across 5 versions & 1 rubygems
Version | Path |
---|---|
tetra-0.52.0 | spec/lib/kit_spec.rb |
tetra-0.51.0 | spec/lib/kit_spec.rb |
tetra-0.50.0 | spec/lib/kit_spec.rb |
tetra-0.49.0 | spec/lib/kit_spec.rb |
tetra-0.48.0 | spec/lib/kit_spec.rb |