Sha256: 9b44c02d4ffd3d1df1c528e16b3e3071603067f42b0972179e259210965bd651

Contents?: true

Size: 636 Bytes

Versions: 27

Compression:

Stored size: 636 Bytes

Contents

Given /I've prepared the Rakefile/ do
  rakefile = File.join(PROJECT_ROOT, 'features', 'support', 'rake', 'Rakefile')
  target = File.join(TEMP_DIR, 'Rakefile')
  FileUtils.cp(rakefile, target)
end

When /I run rake with (.+)/ do |command|
  command = "rake #{command.gsub(' ','_')}"
  step %{I run `#{command}`}
end

Then "Airbrake should not catch the exception" do
  step %{I should not see "[airbrake]"}
end

Then "Airbrake should catch the exception" do
  step %{I should see "[airbrake]"}
end

Then /^command "(.*?)" should be reported$/ do |command_name|
  step %{the output should contain "[airbrake] rake #{command_name}"}
end

Version data entries

27 entries across 27 versions & 2 rubygems

Version Path
airbrake-3.1.13 features/step_definitions/rake_steps.rb
airbrake-3.1.12 features/step_definitions/rake_steps.rb
airbrake-3.1.11 features/step_definitions/rake_steps.rb
airbrake-3.1.10 features/step_definitions/rake_steps.rb
airbrake-3.1.9 features/step_definitions/rake_steps.rb
airbrake-3.1.8 features/step_definitions/rake_steps.rb
airbrake-3.1.7 features/step_definitions/rake_steps.rb