Skip to content

Commit

Permalink
chore: add todo about switching to subclasses
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Jan 27, 2024
1 parent 671ef19 commit d9ccbae
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/rubocop/cop/rspec/rails/minitest_assertions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -222,6 +222,7 @@ def assertion

MSG = 'Use `%<prefer>s`.'

# TODO: replace with `BasicAssertion.subclasses` in Ruby 3.1+
ASSERTION_MATCHERS = constants(false).filter_map do |c|
const = const_get(c)

Expand Down

0 comments on commit d9ccbae

Please sign in to comment.