Sha256: 49deaedcd720d98bb8f1cd1df9056f2068ebf6ddf9ccd35a08408894c8af8ca4

Contents?: true

Size: 689 Bytes

Versions: 4

Compression:

Stored size: 689 Bytes

Contents

Feature: Rescue errors in Rails middleware

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
projectlocker_errata-0.1.1 features/metal.feature
projectlocker_errata-0.1.0 features/metal.feature
projectlocker_errata-0.0.2 features/metal.feature
projectlocker_errata-0.0.1 features/metal.feature