Sha256: 6cdb4fc50f8d9ed45f0beb2affac7538cb4645a701f0e0721b296a179ad16a82

Contents?: true

Size: 646 Bytes

Versions: 6

Compression:

Stored size: 646 Bytes

Contents

Feature: Rescue errors in Rails middleware

  Background:
    Given I have built and installed the "honeybadger" gem
    And I generate a new Rails application
    And I configure the Honeybadger shim
    And I configure my application to require the "honeybadger" gem
    And I run the honeybadger 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 Honeybadger notification

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
honeybadger-1.3.1 features/metal.feature
honeybadger-1.3.0 features/metal.feature
honeybadger-1.2.1 features/metal.feature
honeybadger-1.2.0 features/metal.feature
honeybadger-1.1.0 features/metal.feature
honeybadger-1.0.0 features/metal.feature