Sha256: c84d70668ad17ba7af1a7dab63148eefb32ba122092b2d1a0c91c18710333a9c
Contents?: true
Size: 626 Bytes
Versions: 2
Compression:
Stored size: 626 Bytes
Contents
require "spec_helper" describe MSpec do subject(:task) do task = MSpec.new() task.extend(SystemPatch) task.command = "mspec" task.assemblies = ["a.dll", "b.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("mspec") end it "should have two assemblies" do cmd.should include("\"a.dll\" \"b.dll\"") end it "should have an html switch and 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/mspec_spec.rb |
albacore-1.0.0.rc.3 | spec/mspec_spec.rb |