features/rack.feature in airbrake-3.1.2 vs features/rack.feature in airbrake-3.1.3

- old
+ new

@@ -4,15 +4,17 @@ Given I have built and installed the "airbrake" gem Scenario: Rescue and exception in a Rack app Given the following Rack app: """ + require 'logger' require 'rack' require 'airbrake' Airbrake.configure do |config| config.api_key = 'my_api_key' + config.logger = Logger.new STDOUT end app = Rack::Builder.app do use Airbrake::Rack run lambda { |env| raise "Rack down" } @@ -22,15 +24,17 @@ Then I should receive a Airbrake notification Scenario: Ignore user agents Given the following Rack app: """ + require 'logger' require 'rack' require 'airbrake' Airbrake.configure do |config| config.api_key = 'my_api_key' config.ignore_user_agent << /ignore/ + config.logger = Logger.new STDOUT end class Mock class AppendUserAgent def initialize(app)