Sha256: b121d59c7f81c78b40a8a1617c194a5078ef07ad2a330b0d3d985ba0542b4e12
Contents?: true
Size: 625 Bytes
Versions: 3
Compression:
Stored size: 625 Bytes
Contents
require 'aruba-doubles/hooks' require 'aruba-doubles/api' World(ArubaDoubles::Api) Given /^a double of "([^"]*)"$/ do |file| create_double(file) end Given /^a double of "([^"]*)" with (stdout|stderr):$/ do |file, stdout_stderr, output| create_double(file, stdout_stderr.to_sym => output) end Given /^a double of "([^"]*)" with exit status (\d+)$/ do |file, exit| create_double(file, :exit_status => exit.to_i) end Given /^a double of "([^"]*)" with exit status (\d+) and (stdout|stderr):$/ do |file, exit, stdout_stderr, output| create_double(file, :exit_status => exit.to_i, stdout_stderr.to_sym => output) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aruba-doubles-0.1.1 | lib/aruba-doubles/cucumber.rb |
aruba-doubles-0.1.0 | lib/aruba-doubles/cucumber.rb |
aruba-doubles-0.0.2 | lib/aruba-doubles/cucumber.rb |