Sha256: ca0f53d4ad2cc464dd36cfa4bc68391741331e8ed17d9ecbe73add8de9b107ff
Contents?: true
Size: 452 Bytes
Versions: 2
Compression:
Stored size: 452 Bytes
Contents
When /^I do aruba (.*)$/ do |aruba_step| begin When(aruba_step) rescue => e @aruba_exception = e end end Then /^aruba should fail with "([^"]*)"$/ do |error_message| @aruba_exception.message.should =~ regexp(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
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
aruba-0.2.4 | features/step_definitions/aruba_dev_steps.rb |
aruba-0.2.3 | features/step_definitions/aruba_dev_steps.rb |