Sha256: 621ac6675d3dcafe53572d05f13ae8a12be1f8de9ab44a9bc441d675d1504aa0
Contents?: true
Size: 512 Bytes
Versions: 14
Compression:
Stored size: 512 Bytes
Contents
# encoding: UTF-8 require "spec_helper" describe Tetra::Ant do include Tetra::Mockers before(:each) do create_mock_project @path = create_mock_executable("ant") end after(:each) do delete_mock_project end describe "#get_ant_commandline" do it "returns commandline options for running Ant" do @project.from_directory do commandline = Tetra::Ant.commandline(".", mock_executable_dir("ant")) expect(commandline).to eq "./#{@path}" end end end end
Version data entries
14 entries across 14 versions & 1 rubygems