From b309854e1dc35d4c6e6d9115bafab8485c903599 Mon Sep 17 00:00:00 2001 From: Akira Matsuda Date: Thu, 26 Nov 2020 04:35:36 +0900 Subject: [PATCH] Simply require rather than autoload + immediately load --- lib/rails/dom/testing/assertions.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/rails/dom/testing/assertions.rb b/lib/rails/dom/testing/assertions.rb index 3df09a0..862d2c2 100644 --- a/lib/rails/dom/testing/assertions.rb +++ b/lib/rails/dom/testing/assertions.rb @@ -1,11 +1,11 @@ require 'nokogiri' +require 'rails/dom/testing/assertions/dom_assertions' +require 'rails/dom/testing/assertions/selector_assertions' module Rails module Dom module Testing module Assertions - autoload :DomAssertions, 'rails/dom/testing/assertions/dom_assertions' - autoload :SelectorAssertions, 'rails/dom/testing/assertions/selector_assertions' include DomAssertions include SelectorAssertions end