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
airbrakeV4rails5-4.3.8 features/step_definitions/rake_steps.rb
airbrake-4.3.8 features/step_definitions/rake_steps.rb
airbrake-4.3.7 features/step_definitions/rake_steps.rb
airbrake-4.3.6 features/step_definitions/rake_steps.rb
airbrake-4.3.5 features/step_definitions/rake_steps.rb
airbrake-4.3.4 features/step_definitions/rake_steps.rb
airbrake-4.3.3 features/step_definitions/rake_steps.rb
airbrake-4.3.2 features/step_definitions/rake_steps.rb
airbrake-4.3.1 features/step_definitions/rake_steps.rb
airbrake-4.3.0 features/step_definitions/rake_steps.rb
airbrake-4.2.1 features/step_definitions/rake_steps.rb
airbrake-4.2.0 features/step_definitions/rake_steps.rb
airbrake-4.1.0 features/step_definitions/rake_steps.rb
airbrake-4.0.0 features/step_definitions/rake_steps.rb
airbrake-3.2.1 features/step_definitions/rake_steps.rb
airbrake-3.2.0 features/step_definitions/rake_steps.rb
airbrake-3.1.17 features/step_definitions/rake_steps.rb
airbrake-3.1.16 features/step_definitions/rake_steps.rb
airbrake-3.1.15 features/step_definitions/rake_steps.rb
airbrake-3.1.14 features/step_definitions/rake_steps.rb