Sha256: 113893b1eaf3de4dfab141b99844109d6607675922e21da791b1b1136c5c238a

Contents?: true

Size: 857 Bytes

Versions: 4

Compression:

Stored size: 857 Bytes

Contents

Feature: Unhandled exceptions support

@rails3 @rails4 @rails5 @rails6
Scenario: Unhandled RuntimeError
  Given I start the rails service
  When I navigate to the route "/unhandled/error" on the rails app
  And I wait to receive a request
  Then the request is valid for the error reporting API version "4.0" for the "Ruby Bugsnag Notifier"
  And the event "unhandled" is true
  And the exception "errorClass" equals "NameError"
  And the exception "message" starts with "undefined local variable or method `generate_unhandled_error' for #<UnhandledController"
  And the event "app.type" equals "rails"
  And the event "metaData.request.url" ends with "/unhandled/error"
  And the event "severity" equals "error"
  And the event "severityReason.type" equals "unhandledExceptionMiddleware"
  And the event "severityReason.attributes.framework" equals "Rack"

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/rails_features/unhandled.feature
bugsnag-6.14.0 features/rails_features/unhandled.feature
bugsnag-6.13.1 features/rails_features/unhandled.feature
bugsnag-6.13.0 features/rails_features/unhandled.feature