Sha256: 4b36fbf688cd58b70db390299b2995427b54f19a5cbe69b09d81fbbeb50905c9

Contents?: true

Size: 654 Bytes

Versions: 2

Compression:

Stored size: 654 Bytes

Contents

Given /^I have a local file named "([^\"]*)" with:$/ do |filename, content|
  File.open(filename, 'w') {|io| io.write(content)}
end

When /^I do aruba (.*)$/ do |aruba_step|
  begin
    When(aruba_step)
  rescue => e
    @aruba_exception = e
  end
end

Then /^I should see the JRuby version$/ do
  pending "This must be manually run in JRuby" unless defined?(JRUBY_VERSION)
  Then %{I should see "#{JRUBY_VERSION}"}
end

Then /^I should see the current Ruby version$/ do
  Then %{I should see "#{RUBY_VERSION}"}
end

Then /^aruba should fail with "([^\"]*)"$/ do |error_message|
  @aruba_exception.message.should =~ compile_and_escape(error_message)
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
aruba-0.1.9 features/step_definitions/aruba_dev_steps.rb
aruba-0.1.8 features/step_definitions/aruba_dev_steps.rb