Sha256: 12908d42003393aa14d0a2fcd4a69a0ea270d8c45386493061f720d3d742a063
Contents?: true
Size: 664 Bytes
Versions: 1
Compression:
Stored size: 664 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
recurs-0.0.4.1 | features/step_definitions/aruba_steps.rb |