Sha256: 599762d09fd8759526940f8bd294e84b5d88990d774e1782c0240ad8b931ce87
Contents?: true
Size: 665 Bytes
Versions: 15
Compression:
Stored size: 665 Bytes
Contents
When /^I do aruba (.*)$/ do |aruba_step| begin When(aruba_step) rescue => e @aruba_exception = e end end # Useful for debugging timing problems When /^sleep (\d+)$/ do |time| sleep time.to_i end Then /^aruba should fail with "([^"]*)"$/ do |error_message| @aruba_exception.message.should include(unescape(error_message)) end Then /^the following step should fail with Spec::Expectations::ExpectationNotMetError:$/ do |multiline_step| proc {steps multiline_step}.should raise_error(RSpec::Expectations::ExpectationNotMetError) end Then /^the output should be (\d+) bytes long$/ do |length| all_output.chomp.length.should == length.to_i end
Version data entries
15 entries across 15 versions & 2 rubygems