Skip to content

Conversation

@liijunwei
Copy link
Contributor

@liijunwei liijunwei commented Nov 1, 2022

  • currently globalid is depending on 'activesupport >= 5.0', which makes the ActiveSupport::TestCase.respond_to?(:test_order=) check redundant
  • in 'activesupport > 4.1.16, < 5.0' , ActiveSupport::TestCase.test_order default to :sorted, but in 'activesupport >= 5.0', its default is :random, so these thress lines of code can be removed

ref:

* currently globalid is depending on 'activesupport >= 5.0', which makes the `ActiveSupport::TestCase.respond_to?(:test_order=)` check redundant
* in `activesupport > 4.1.16, < 5.0` , `ActiveSupport::TestCase.test_order` default to `:sorted`, but in 'activesupport >= 5.0', its default is `:random`, so these thress lines of code can be removed
@liijunwei liijunwei force-pushed the remove_test_order_check branch from 9dd4232 to 99d4166 Compare November 1, 2022 15:50
@dhh dhh merged commit eea5a65 into rails:main Dec 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants