Sha256: d88eb1005a09c5a66c48e39fdb3f293bc92a4ba3aea8744845a73c494b538647

Contents?: true

Size: 681 Bytes

Versions: 4

Compression:

Stored size: 681 Bytes

Contents

Feature: Send environment

@rails3 @rails4 @rails5 @rails6
Scenario: Send_environment should send environment in handled errors when true
  Given I set environment variable "BUGSNAG_SEND_ENVIRONMENT" to "true"
  And I start the rails service
  When I navigate to the route "/send_environment/initializer" 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 exception "errorClass" equals "RuntimeError"
  And the exception "message" starts with "handled string"
  And the event "metaData.environment.REQUEST_METHOD" equals "GET"
  And the event "app.type" equals "rails"

Version data entries

4 entries across 4 versions & 1 rubygems

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