Sha256: 848fcca4960a6760ffa46ec1b2eac0b54168be0a95fd675c0fda8c57785522e5
Contents?: true
Size: 576 Bytes
Versions: 3
Compression:
Stored size: 576 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 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
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
aruba-0.1.7 | features/step_definitions/aruba_dev_steps.rb |
aruba-0.1.6 | features/step_definitions/aruba_dev_steps.rb |
aruba-0.1.5 | features/step_definitions/aruba_dev_steps.rb |