spec/spec_helper.rb in shuttle-deploy-0.2.0.beta4 vs spec/spec_helper.rb in shuttle-deploy-0.2.0.beta5

- old
+ new

@@ -12,6 +12,10 @@ filename.nil? ? path : File.join(path, filename) end def fixture(file) File.read(File.join(fixture_path, file)) +end + +def fake_run(command, output, exit_code=0, duration=0) + Net::SSH::SessionCommand.new(command, output, exit_code, duration) end \ No newline at end of file