diff options
Diffstat (limited to 'actionpack/lib/action_controller/metal/testing.rb')
-rw-r--r-- | actionpack/lib/action_controller/metal/testing.rb | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/actionpack/lib/action_controller/metal/testing.rb b/actionpack/lib/action_controller/metal/testing.rb new file mode 100644 index 0000000000..6e8a95040f --- /dev/null +++ b/actionpack/lib/action_controller/metal/testing.rb @@ -0,0 +1,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 |