lib/cucumber/rails/world.rb in kosmas58-cucumber-0.1.99.23 vs lib/cucumber/rails/world.rb in kosmas58-cucumber-0.1.100.5

- old
+ new

@@ -9,11 +9,11 @@ end require 'test/unit/testresult' # These allow exceptions to come through as opposed to being caught and having non-helpful responses returned. ActionController::Base.class_eval do - def perform_action_with_rescue - perform_action_without_rescue + def rescue_action(exception) + raise exception end end ActionController::Dispatcher.class_eval do def self.failsafe_response(output, status, exception = nil) raise exception