Skip to content

Commit 1036b07

Browse files
committed
Require minitest for backward compatibility
Previously ActiveSupport::TestCase was always loaded, so minitest would be required here: https://github.com/rails/rails/blob/v7.1.3.2/activesupport/lib/active_support/test_case.rb#L3
1 parent d3e593b commit 1036b07

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

lib/rspec/rails/configuration.rb

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
# minitest was previously always loaded, and users may have come to depend on it.
2+
require "minitest"
3+
14
# rubocop: disable Metrics/ModuleLength
25
module RSpec
36
module Rails

0 commit comments

Comments
 (0)