Sha256: 1d4dba910c90d777f39bc0de9a1ca2781cbf9da6d07a84b6a55b673a611d077e
Contents?: true
Size: 495 Bytes
Versions: 8
Compression:
Stored size: 495 Bytes
Contents
require 'rails/application' # Make sure the ActionDispatch::ShowExceptions middleware is always enabled, # regardless of what is in config/environments/test.rb # Instead we are overriding ActionDispatch::ShowExceptions to be able to # toggle whether or not exceptions are raised. class Rails::Application alias __cucumber_orig_initialize__ initialize! def initialize! ad = config.action_dispatch def ad.show_exceptions true end __cucumber_orig_initialize__ end end
Version data entries
8 entries across 8 versions & 1 rubygems