Sha256: 6f7cf09c45db305927e368fd4c469e16374b362d7a8553ab72cf36d1eec7762e
Contents?: true
Size: 1.07 KB
Versions: 8
Compression:
Stored size: 1.07 KB
Contents
######################################################################################################################## # # Variation on Aruba's output steps # ######################################################################################################################## Then /^the stdout contains "([^"]*)"$/ do |partial_output| all_stdout.should include(partial_output) end Then /^the stdout contains:$/ do |partial_output| all_stdout.should include(partial_output) end Then /^the stdout contains exactly:$/ do |exact_output| all_stdout.should == exact_output end Then /^the stdout does not contain "([^"]*)"$/ do |partial_output| all_stdout.should_not include(partial_output) end Then /^the stdout does not contain:$/ do |partial_output| all_stdout.should_not include(partial_output) end Then /^the stdout from "([^"]*)" contains "([^"]*)"$/ do |cmd, partial_output| stdout_from(cmd).should include(partial_output) end Then /^the stdout from "([^"]*)" does not contain "([^"]*)"$/ do |cmd, partial_output| stdout_from(cmd).should_not include(partial_output) end
Version data entries
8 entries across 8 versions & 1 rubygems