Sha256: 7154cb951e63a60aee4f263d1899b2a7a830d2cd375e7ad2f607e75a9cde7787
Contents?: true
Size: 651 Bytes
Versions: 2
Compression:
Stored size: 651 Bytes
Contents
require File.join(File.dirname(__FILE__), 'support', 'spec_helper') require 'albacore/command' @@nunit = File.join(File.dirname(__FILE__), 'support', 'Tools', 'NUnit-v2.5', 'nunit-console-x86.exe') describe Command, "when executing a command with parameters" do before :all do @cmd = Command.new @cmd.log_level = :verbose @cmd.extend(SystemPatch) @cmd.path_to_command = @@nunit @cmd.parameters << ["--help"] @cmd.execute end it "should run the command with the parameters" do @cmd.system_command.should include("\"#{@@nunit}\" --help") end it "should not fail" do @cmd.failed.should be_false end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
albacore-0.0.9 | spec/command_spec.rb |
albacore-0.0.8 | spec/command_spec.rb |