Actions
Bug #35301
closedminitest raises deprecation warnings about global use
Description
In minitest 6 it will be invalid to use object.must_include(item)
. It should instead use _(object).must_include(item)
. This method name overlaps with `_()` from gettext. There is a hack to work around this, but it's also possible to call value()
or use assert_includes(collection, value)
. When using Rails 7 and Ruby 3.1 our hack no longer appears to work so the alternatives are better.
Actions