Sha256: c1b8efc542c4dbabed9290fdd068530914e95286b9295151b28a5d03ca56b9a0

Contents?: true

Size: 1.18 KB

Versions: 4

Compression:

Stored size: 1.18 KB

Contents

Feature: App version configuration

@rails3 @rails4 @rails5 @rails6
Scenario: App_version is nil by default
  Given I start the rails service
  When I navigate to the route "/app_version/default" 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 "app.version" is null

@rails3 @rails4 @rails5 @rails6
Scenario: Setting app_version in initializer works
  Given I set environment variable "BUGSNAG_APP_VERSION" to "1.0.0"
  And I start the rails service
  When I navigate to the route "/app_version/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 event "app.version" equals "1.0.0"

@rails3 @rails4 @rails5 @rails6
Scenario: Setting app_version after initializer works
  Given I start the rails service
  When I navigate to the route "/app_version/after?version=1.1.0" 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 "app.version" equals "1.1.0"

Version data entries

4 entries across 4 versions & 1 rubygems

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