Sha256: fa104937add3de55f31315ce2b56e133c45cf516dd023cc71e04e9844c8913bd
Contents?: true
Size: 661 Bytes
Versions: 2
Compression:
Stored size: 661 Bytes
Contents
require File.join(File.dirname(__FILE__), 'support', 'spec_helper') require 'albacore/exec' @@nunit = File.join(File.dirname(__FILE__), 'support', 'Tools', 'NUnit-v2.5', 'nunit-console-x86.exe') describe Exec, "when executing a command with parameters" do before :all do @cmd = Exec.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.1.1 | spec/exec_spec.rb |
albacore-0.1.0 | spec/exec_spec.rb |