Sha256: ea230f7803685345d81c677505c60795534e2a4770c6f933b3cb7a16a672d413

Contents?: true

Size: 258 Bytes

Versions: 3

Compression:

Stored size: 258 Bytes

Contents

module ActionController
  module Rescue
    protected
    alias old_rescue_action rescue_action
    def rescue_action(exception)
      raise exception if exception.is_a?(Spec::Mocks::MockExpectationError)
      old_rescue_action(exception)
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
has_finder-0.1.1 spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/rescue.rb
has_finder-0.1.2 spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/rescue.rb
has_finder-0.1.3 spec/rails/vendor/plugins/rspec_on_rails/lib/spec/rails/extensions/action_controller/rescue.rb