Sha256: 633494a1d7f165b1d47c9c1940a14f2b7747cbd38d2f12051255e8db74a75b30
Contents?: true
Size: 604 Bytes
Versions: 1
Compression:
Stored size: 604 Bytes
Contents
Given /^I have a new remote subproces with invalid username$/ do @popen_remote = Subprocess::PopenRemote.new('tail -n50 /var/log/daemon.log', 'localhost', 'someadminnamethatshouldneverexist', 300, :password => 'somebadpasswordnooneuses') end Given /^invalid password$/ do # by leaving this empty its an auto pass and really just serves to make feature read better end When /^I run the remote subprocess$/ do @popen_remote.run end Then /^the remote subprocess should return an error$/ do @popen_remote.wait #@popen_remote.stderr.should_not be_nil end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
subprocess-0.1.6 | features/step_definitions/popen_remote_fails_with_invalid_auth_dat_steps.rb |