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

Version Path
tetra-2.0.6 spec/lib/fine/ant_spec.rb
tetra-2.0.5 spec/lib/fine/ant_spec.rb
tetra-2.0.4 spec/lib/fine/ant_spec.rb
tetra-2.0.3 spec/lib/fine/ant_spec.rb
tetra-2.0.2 spec/lib/fine/ant_spec.rb
tetra-2.0.1 spec/lib/fine/ant_spec.rb
tetra-2.0.0 spec/lib/fine/ant_spec.rb
tetra-1.2.2 spec/lib/ant_spec.rb
tetra-1.2.1 spec/lib/ant_spec.rb
tetra-1.2.0 spec/lib/ant_spec.rb
tetra-1.1.0 spec/lib/ant_spec.rb
tetra-1.0.0 spec/lib/ant_spec.rb
tetra-0.54.0 spec/lib/ant_spec.rb
tetra-0.53.0 spec/lib/ant_spec.rb