lib/action_controller.rb in actionpack-7.1.3.4 vs lib/action_controller.rb in actionpack-7.1.4
- old
+ new
@@ -60,11 +60,14 @@
autoload_under "api" do
autoload :ApiRendering
end
- autoload :TestCase, "action_controller/test_case"
- autoload :TemplateAssertions, "action_controller/test_case"
+ autoload_at "action_controller/test_case" do
+ autoload :TestCase
+ autoload :TestRequest
+ autoload :TemplateAssertions
+ end
end
# Common Active Support usage in Action Controller
require "active_support/core_ext/module/attribute_accessors"
require "active_support/core_ext/module/attr_internal"