Sha256: 6bb3c5038fc4650b6e63cd705312a2a8d049fe84388b45560b2e4956c8888b3a
Contents?: true
Size: 585 Bytes
Versions: 13
Compression:
Stored size: 585 Bytes
Contents
# frozen_string_literal: true 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. module Cucumber module Rails module Application def initialize! ad = config.action_dispatch def ad.show_exceptions true end super end end end end Rails::Application.prepend(Cucumber::Rails::Application)
Version data entries
13 entries across 13 versions & 1 rubygems