Sha256: aedae741ca6b6142948717f6d4c9b909ca6c8027ca7feb41f419c88dd4ccc73d

Contents?: true

Size: 965 Bytes

Versions: 2

Compression:

Stored size: 965 Bytes

Contents

Feature: Metadata filters

@rails3 @rails4 @rails5 @rails6
Scenario: Meta_data_filters should include Rails.configuration.filter_parameters
  Given I start the rails service
  When I navigate to the route "/metadata_filters/filter?filtered_parameter=foo&other_parameter=bar" 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 false
  And the exception "errorClass" equals "RuntimeError"
  And the exception "message" starts with "handled string"
  And the event "app.type" equals "rails"
  And the event "metaData.request.url" ends with "/metadata_filters/filter?filtered_parameter=[FILTERED]&other_parameter=bar"
  And the event "metaData.my_specific_filter" equals "[FILTERED]"
  And the event "metaData.request.params.filtered_parameter" equals "[FILTERED]"
  And the event "metaData.request.params.other_parameter" equals "bar"

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
bugsnag-6.15.0 features/rails_features/meta_data_filters.feature
bugsnag-6.14.0 features/rails_features/meta_data_filters.feature