Sha256: 7056305449107799ffa0573277ff18a6a2d3cb95185d03b8ab728e0d30f8057c

Contents?: true

Size: 644 Bytes

Versions: 2

Compression:

Stored size: 644 Bytes

Contents

Feature: Rescue errors in Rails middleware

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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
projectlocker_pulse-1.0.0 features/metal.feature
projectlocker_pulse-0.2.1 features/metal.feature