Sha256: a38279cf1a36a1824e6e3804a46ac8f4be637f677c1431a9d9b545c23abf4b41

Contents?: true

Size: 745 Bytes

Versions: 2

Compression:

Stored size: 745 Bytes

Contents

require "spec_helper"

describe ILMerge do
  subject(:task) do
    task = ILMerge.new()
    task.extend(SystemPatch)
    task.command = "ilmerge"
    task.out = "output.dll"
    task.target_platform = "net40"
    task.assemblies = ["a.dll", "b.dll"]
    task
  end

  let(:cmd) { task.system_command }

  before :each do
    task.execute
  end

  it "should use the command" do
    cmd.should include("ilmerge")
  end

  it "should output to the assembly" do
    cmd.should include("/out:\"output.dll\"")
  end

  it "should target the correct platform" do
    cmd.should include("/targetPlatform:net40")
  end

  it "should use the input assemblies" do
    cmd.should include("\"a.dll\" \"b.dll\"")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
albacore-1.0.0 spec/ilmerge_spec.rb
albacore-1.0.0.rc.3 spec/ilmerge_spec.rb