Sha256: 3a995556f347ffcb3e7438edc8541296917fcc7f87c1f2f895a27a8be3daaae7

Contents?: true

Size: 594 Bytes

Versions: 2

Compression:

Stored size: 594 Bytes

Contents

require "spec_helper"

describe XUnit do
  subject(:task) do
    task = XUnit.new()
    task.extend(SystemPatch)
    task.command = "xunit"
    task.assembly = "a.dll"
    task.results_path = {:html => "output.html"}
    task
  end

  let(:cmd) { task.system_command }

  before :each do
    task.execute
  end

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

  it "should test one assembly" do
    cmd.should include("\"a.dll\"")
  end

  it "should output to an unedited path" do
    cmd.should include("/html \"output.html\"")
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

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