class 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.

Public Instance Methods

__cucumber_orig_initialize__()
Alias for: initialize!
initialize!() click to toggle source
# File lib/cucumber/rails/application.rb, line 10
def initialize!
  ad = config.action_dispatch
  def ad.show_exceptions
    true
  end
  __cucumber_orig_initialize__
end
Also aliased as: __cucumber_orig_initialize__