Sha256: bcd39f508012339fa98c1ff136250fd34e5d216c9116c69525b080032ec0a0b8
Contents?: true
Size: 727 Bytes
Versions: 2
Compression:
Stored size: 727 Bytes
Contents
Feature: Use the notifier in a Sinatra app Background: Given I have built and installed the "projectlocker-pulse" gem Scenario: Rescue an exception in a Sinatra app Given the following Rack app: """ require 'sinatra/base' require 'projectlocker_pulse' Pulse.configure do |config| config.api_key = 'my_api_key' end class FontaneApp < Sinatra::Base use Pulse::Rack enable :raise_errors get "/test/index" do raise "Sinatra has left the building" end end app = FontaneApp """ When I perform a Rack request to "http://example.com:123/test/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/sinatra.feature |
projectlocker_pulse-0.2.1 | features/sinatra.feature |