Sha256: 96ff21ccd06fed2c9f21dfa1adb36715c986b21b26a3c73686cfb25b434346e1

Contents?: true

Size: 595 Bytes

Versions: 48

Compression:

Stored size: 595 Bytes

Contents

Feature: Rescue errors in Rails middleware

  Background:
    Given I generate a new Rails application
    And I configure the Honeybadger shim
    And I configure Honeybadger with:
      """
      config.api_key = 'myapikey'
      config.logger = Logger.new(STDOUT)
      """

  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 Honeybadger notification

Version data entries

48 entries across 48 versions & 1 rubygems

Version Path
honeybadger-1.16.7 features/metal.feature
honeybadger-1.16.6 features/metal.feature
honeybadger-1.16.5 features/metal.feature
honeybadger-1.16.4 features/metal.feature
honeybadger-1.16.3 features/metal.feature
honeybadger-1.16.2 features/metal.feature
honeybadger-1.16.1 features/metal.feature
honeybadger-1.16.0 features/metal.feature
honeybadger-1.15.3 features/metal.feature
honeybadger-1.15.2 features/metal.feature
honeybadger-1.15.1 features/metal.feature
honeybadger-1.15.0 features/metal.feature
honeybadger-1.14.0 features/metal.feature
honeybadger-1.13.2 features/metal.feature
honeybadger-1.13.1 features/metal.feature
honeybadger-1.13.0 features/metal.feature
honeybadger-1.12.0.beta3 features/metal.feature
honeybadger-1.12.0.beta2 features/metal.feature
honeybadger-1.11.2 features/metal.feature
honeybadger-1.11.1 features/metal.feature