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:
parent
22990028a6
commit
46c22fc1bf
1 changed files with 2 additions and 3 deletions
|
@ -1,12 +1,11 @@
|
||||||
# frozen_string_literal: true
|
# frozen_string_literal: true
|
||||||
|
|
||||||
require "rails-dom-testing"
|
require "rails-dom-testing"
|
||||||
|
require "action_dispatch/testing/assertions/response"
|
||||||
|
require "action_dispatch/testing/assertions/routing"
|
||||||
|
|
||||||
module ActionDispatch
|
module ActionDispatch
|
||||||
module Assertions
|
module Assertions
|
||||||
autoload :ResponseAssertions, "action_dispatch/testing/assertions/response"
|
|
||||||
autoload :RoutingAssertions, "action_dispatch/testing/assertions/routing"
|
|
||||||
|
|
||||||
include ResponseAssertions
|
include ResponseAssertions
|
||||||
include RoutingAssertions
|
include RoutingAssertions
|
||||||
include Rails::Dom::Testing::Assertions
|
include Rails::Dom::Testing::Assertions
|
||||||
|
|
Loading…
Reference in a new issue