Sha256: f9f0efa5a4bf571642ca85b7b07b0d7eca504014becdeb13e7778ab79870ae8e
Contents?: true
Size: 334 Bytes
Versions: 20
Compression:
Stored size: 334 Bytes
Contents
# TODO: this has only been tested on Solaris, so it should be changed to # handle other operating systems too When /^I ping "([^\"]*)"$/ do |host| @result = system("ping #{host} > /dev/null 2>&1") end Then /^it should respond$/ do @result.should be_true end Then /^it should not respond$/ do @result.should be_false end
Version data entries
20 entries across 20 versions & 1 rubygems