Sha256: 2e7019030d1cc727d5fea5f8d5946af12f5fdb92c34a2d47c61af7fe9b4a6b56
Contents?: true
Size: 673 Bytes
Versions: 2
Compression:
Stored size: 673 Bytes
Contents
require "spec_helper" describe Docu, "when defining a basic docu task" do subject(:task) do task = Docu.new() task.extend(SystemPatch) task.output_path = "whatever" task.assemblies = ["a.dll", "b.dll"] task.xml_files = ["a.xml", "b.xml"] task end let(:cmd) { task.system_command } before :each do task.execute end it "should dress up the output path" do cmd.should include("--output=\"whatever\"") end it "should list the assemblies" do cmd.should include("\"a.dll\" \"b.dll\"") end it "should list the xml files" do cmd.should include("\"a.xml\" \"b.xml\"") end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-1.0.0 | spec/docu_spec.rb |
albacore-1.0.0.rc.3 | spec/docu_spec.rb |