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

Version Path
aruba-0.3.6 features/step_definitions/aruba_dev_steps.rb
aruba-0.3.5 features/step_definitions/aruba_dev_steps.rb
aruba-0.3.4 features/step_definitions/aruba_dev_steps.rb
aruba-0.3.3 features/step_definitions/aruba_dev_steps.rb
vim-jar-0.1.2.0001 bundler/ruby/1.8/gems/aruba-0.2.6/features/step_definitions/aruba_dev_steps.rb
aruba-0.3.2 features/step_definitions/aruba_dev_steps.rb
aruba-0.3.1 features/step_definitions/aruba_dev_steps.rb
aruba-0.3.0 features/step_definitions/aruba_dev_steps.rb
aruba-0.2.8 features/step_definitions/aruba_dev_steps.rb
vim-jar-0.1.2 bundler/ruby/1.8/gems/aruba-0.2.6/features/step_definitions/aruba_dev_steps.rb
vim-jar-0.1.1 bundler/ruby/1.8/gems/aruba-0.2.6/features/step_definitions/aruba_dev_steps.rb
vim-jar-0.1.0 bundler/ruby/1.8/gems/aruba-0.2.6/features/step_definitions/aruba_dev_steps.rb
aruba-0.2.7 features/step_definitions/aruba_dev_steps.rb
aruba-0.2.6 features/step_definitions/aruba_dev_steps.rb
aruba-0.2.5 features/step_definitions/aruba_dev_steps.rb