Sha256: 580863171677f754bef32812cc182222c7829cd9feaefd554276212fb3a15786

Contents?: true

Size: 516 Bytes

Versions: 69

Compression:

Stored size: 516 Bytes

Contents

# Keep this before any task definitions to collect extra info about tasks.
# Without this line the tests will fail.
Rake::TaskManager.record_task_metadata = true

namespace :bingo do
  # This task contains *maximum* amount of information.
  desc 'Dummy description'
  task :bango, [:dummy_arg] => [:environment] do |_t, _args|
    raise AirbrakeTestError
  end

  # This task contains *minimum* amount of information.
  task :bongo do
    raise AirbrakeTestError
  end

  task :environment do
    # No-op.
  end
end

Version data entries

69 entries across 69 versions & 2 rubygems

Version Path
airbrake-5.2.0 spec/apps/rails/dummy_task.rake
airbrake-5.1.0 spec/apps/rails/dummy_task.rake
airbrake-5.0.5 spec/apps/rails/dummy_task.rake
airbrake-5.0.4 spec/apps/rails/dummy_task.rake
airbrake-5.0.3 spec/apps/rails/dummy_task.rake
airbrake-5.0.2 spec/apps/rails/dummy_task.rake
airbrake-5.0.1 spec/apps/rails/dummy_task.rake
airbrake-5.0.0 spec/apps/rails/dummy_task.rake
airbrake-5.0.0.rc.1 spec/apps/rails/dummy_task.rake