1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Simply require rather than autoload + immediately load

This commit is contained in:
Akira Matsuda 2020-11-26 21:15:51 +09:00
parent 22990028a6
commit 46c22fc1bf

View file

@ -1,12 +1,11 @@
# frozen_string_literal: true
require "rails-dom-testing"
require "action_dispatch/testing/assertions/response"
require "action_dispatch/testing/assertions/routing"
module ActionDispatch
module Assertions
autoload :ResponseAssertions, "action_dispatch/testing/assertions/response"
autoload :RoutingAssertions, "action_dispatch/testing/assertions/routing"
include ResponseAssertions
include RoutingAssertions
include Rails::Dom::Testing::Assertions