aboutsummaryrefslogtreecommitdiffstats
path: root/actionpack/lib/action_controller/metal/testing.rb
blob: 6e8a95040f7149bc3774bbd07963f6d8b43e9abe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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
  end
end