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.8.1 features/metal.feature
honeybadger-1.8.0 features/metal.feature
honeybadger-1.7.0 features/metal.feature
honeybadger-1.6.2 features/metal.feature
honeybadger-1.6.1 features/metal.feature
honeybadger-1.6.0 features/metal.feature
honeybadger-1.5.0 features/metal.feature
honeybadger-1.4.0 features/metal.feature