spec/spec_helper.rb in flail-0.1.6 vs spec/spec_helper.rb in flail-1.0.0

- old
+ new

@@ -7,20 +7,16 @@ RSpec.configure do |config| config.mock_with :rr end -require 'action_controller' -require 'action_controller/test_process' require 'active_record' -require 'active_support' require 'rack' require 'sham_rack' require 'flail' require 'flail/rails/controller_methods' -require 'flail/rails/rescue_action' Dir["#{File.expand_path(File.dirname(__FILE__))}/support/*.rb"].map {|file| require(file)} class FlailArmory @@ -33,10 +29,9 @@ end def build_controller_class(&definition) Class.new(ActionController::Base).tap do |klass| klass.__send__(:include, Flail::Rails::ControllerMethods) - klass.__send__(:include, Flail::Rails::RescueAction) klass.class_eval(&definition) if definition klass.class_eval do def rescue_action_in_public_without_flail(*args) end