Sha256: de6ffa83310a423df86b1824ca84e6b298806900aa436a1f02ddddf294152745
Contents?: true
Size: 497 Bytes
Versions: 22
Compression:
Stored size: 497 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
22 entries across 22 versions & 2 rubygems