Sha256: 725c572b7d719af3589dadd62163deecb71fecc8cc270cf50f70bbcaf965028d
Contents?: true
Size: 553 Bytes
Versions: 14
Compression:
Stored size: 553 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 create_mock_executable("any") expect(instance.find_executable("any")).to eq mock_executable_dir("any") end it "doesn't find an executable in kit" do expect(instance.find_executable("any")).to be_nil end end end
Version data entries
14 entries across 14 versions & 1 rubygems