Sha256: 457bb6a5c3506f1dfb1c3f98026884681a1055881e7214e494b6ec7e0ae7fb53
Contents?: true
Size: 1.94 KB
Versions: 4
Compression:
Stored size: 1.94 KB
Contents
Feature: Project root configuration @rails3 @rails4 @rails5 @rails6 Scenario: Project_root should default to Rails.root Given I start the rails service When I navigate to the route "/project_root/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 exception "errorClass" equals "RuntimeError" And the exception "message" starts with "handled string" And the event "metaData.request.url" ends with "/project_root/default" And the "file" of the top non-bugsnag stackframe equals "app/controllers/project_root_controller.rb" @rails3 @rails4 @rails5 @rails6 Scenario: Project_root can be set in an initializer Given I set environment variable "BUGSNAG_PROJECT_ROOT" to "/foo/bar" And I start the rails service When I navigate to the route "/project_root/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.request.url" ends with "/project_root/initializer" And the "file" of the top non-bugsnag stackframe equals "/usr/src/app/controllers/project_root_controller.rb" @rails3 @rails4 @rails5 @rails6 Scenario: Project_root can be set after an initializer Given I start the rails service When I navigate to the route "/project_root/after" 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.request.url" ends with "/project_root/after" And the "file" of the top non-bugsnag stackframe equals "/usr/src/app/controllers/project_root_controller.rb"
Version data entries
4 entries across 4 versions & 1 rubygems