Sha256: 7777beca84d6ffc0069687e76888794d9d23c006406f71fdee942dbd72c37cd7

Contents?: true

Size: 460 Bytes

Versions: 1

Compression:

Stored size: 460 Bytes

Contents

# frozen_string_literal: true

module ActionController
  module Testing
    extend ActiveSupport::Concern

    # Behavior specific to functional tests
    module Functional # :nodoc:
      def recycle!
        @_url_options = nil
        self.formats = nil
        self.params = nil
      end
    end

    module ClassMethods
      def before_filters
        _process_action_callbacks.find_all { |x| x.kind == :before }.map(&:name)
      end
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
ruby-on-quails-0.1.0 actionpack/lib/action_controller/metal/testing.rb