Skip to content

Commit

Permalink
Require minitest for backward compatibility
Browse files Browse the repository at this point in the history
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
  • Loading branch information
eugeneius committed Mar 8, 2024
1 parent d3e593b commit 1036b07
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/rspec/rails/configuration.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
# minitest was previously always loaded, and users may have come to depend on it.
require "minitest"

# rubocop: disable Metrics/ModuleLength
module RSpec
module Rails
Expand Down

0 comments on commit 1036b07

Please sign in to comment.