Sha256: cddcb2414b921a8d4959e0f2ba5ed4865faedbef085a4d6ab5d5b4fa6555b657

Contents?: true

Size: 981 Bytes

Versions: 6

Compression:

Stored size: 981 Bytes

Contents

Feature: App version configuration option

Background:
  Given I set environment variable "BUGSNAG_API_KEY" to "a35a2a72bd230ac0aa0f52715bbdc6aa"
  And I configure the bugsnag endpoint

Scenario Outline: The App version configuration option can be set
  Given I set environment variable "RUBY_VERSION" to "<ruby version>"
  And I set environment variable "BUGSNAG_APP_VERSION" to "9.9.8"
  And I have built the service "plain-ruby"
  And I run the service "plain-ruby" with the command "bundle exec ruby configuration/send_handled.rb"
  And I wait for 1 second
  Then I should receive a request
  And the request used the "Ruby Bugsnag Notifier" notifier
  And the request used payload v4 headers
  And the request contained the api key "a35a2a72bd230ac0aa0f52715bbdc6aa"
  And the event "app.version" equals "9.9.8"

  Examples:
  | ruby version |
  | 1.9.3        |
  | 2.0          |
  | 2.1          |
  | 2.2          |
  | 2.3          |
  | 2.4          |
  | 2.5          |

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
bugsnag-6.12.2 features/plain_features/app_version.feature
bugsnag-6.12.1 features/plain_features/app_version.feature
bugsnag-6.12.0 features/plain_features/app_version.feature
bugsnag-6.11.1 features/plain_features/app_version.feature
bugsnag-6.11.0 features/plain_features/app_version.feature
bugsnag-6.10.0 features/plain_features/app_version.feature