Use class method module instead of DSL

This will make sure documentation is generated for the module.
This commit is contained in:
Rafael Mendonça França 2023-08-18 22:11:48 +00:00
parent 3b5a4a56fb
commit 08cd280866
No known key found for this signature in database
GPG Key ID: FC23B6D0F1EEE948
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ module ActionDispatch
module RoutingAssertions
extend ActiveSupport::Concern
class_methods do
module ClassMethods
# A helper to make it easier to test different route configurations.
# This method temporarily replaces @routes with a new RouteSet instance
# before each test.