Sha256: 1742ef5616c22be0fd2fd3f39a94a5b520c9c2ed2509c5b64cbb236f2ed737e7

Contents?: true

Size: 429 Bytes

Versions: 20

Compression:

Stored size: 429 Bytes

Contents

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

20 entries across 20 versions & 1 rubygems

Version Path
actionpack-5.1.7 lib/action_controller/metal/testing.rb
actionpack-5.1.7.rc1 lib/action_controller/metal/testing.rb
actionpack-5.1.6.2 lib/action_controller/metal/testing.rb
actionpack-5.1.6.1 lib/action_controller/metal/testing.rb
actionpack-5.1.6 lib/action_controller/metal/testing.rb
actionpack-5.1.5 lib/action_controller/metal/testing.rb
actionpack-5.1.5.rc1 lib/action_controller/metal/testing.rb
actionpack-5.1.4 lib/action_controller/metal/testing.rb
actionpack-5.1.4.rc1 lib/action_controller/metal/testing.rb
actionpack-5.1.3 lib/action_controller/metal/testing.rb
actionpack-5.1.3.rc3 lib/action_controller/metal/testing.rb
actionpack-5.1.3.rc2 lib/action_controller/metal/testing.rb
actionpack-5.1.3.rc1 lib/action_controller/metal/testing.rb
actionpack-5.1.2 lib/action_controller/metal/testing.rb
actionpack-5.1.2.rc1 lib/action_controller/metal/testing.rb
actionpack-5.1.1 lib/action_controller/metal/testing.rb
actionpack-5.1.0 lib/action_controller/metal/testing.rb
actionpack-5.1.0.rc2 lib/action_controller/metal/testing.rb
actionpack-5.1.0.rc1 lib/action_controller/metal/testing.rb
actionpack-5.1.0.beta1 lib/action_controller/metal/testing.rb