Sha256: 489bd49284c7e2701a510b497411f2b788d8caa7af1607e01bb869495e4e6b4b

Contents?: true

Size: 631 Bytes

Versions: 7

Compression:

Stored size: 631 Bytes

Contents

Feature: Rescue errors in Rails middleware

  Background:
    Given I have built and installed the "airbrake" gem
    And I generate a new Rails application
    And I configure the Airbrake shim
    And I configure my application to require the "airbrake" gem
    And I run the airbrake generator with "-k myapikey"

  Scenario: Rescue an exception in the dispatcher
    When I define a Metal endpoint called "Exploder":
      """
      def self.call(env)
        raise "Explode"
      end
      """
    When I perform a request to "http://example.com:123/metal/index?param=value"
    Then I should receive a Airbrake notification

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
airbrake-3.1.6 features/metal.feature
airbrake-3.1.5 features/metal.feature
airbrake-3.1.4 features/metal.feature
airbrake-3.1.3 features/metal.feature
airbrake-3.1.2 features/metal.feature
airbrake-3.1.1 features/metal.feature
airbrake-3.1.0 features/metal.feature