Sha256: c10349b60615a1d97882aa245321735eaa7a5435099701bb857c0ee53ee31df9
Contents?: true
Size: 750 Bytes
Versions: 1
Compression:
Stored size: 750 Bytes
Contents
require 'aruba-doubles/api' World(ArubaDoubles::Api) Before do patch_original_path end After do restore_original_path remove_doubles end Before('@repeat_arguments') do @repeat_arguments = true end 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
aruba-doubles-0.0.1 | lib/aruba-doubles/cucumber.rb |