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.
Updated by The Foreman Bot over 2 years ago
- Status changed from New to Ready For Testing
- Assignee set to Ewoud Kohl van Wijngaarden
- Pull request https://github.com/theforeman/foreman/pull/9333 added
Updated by Ewoud Kohl van Wijngaarden over 2 years ago
- Status changed from Ready For Testing to Closed
Applied in changeset foreman|b7afdcd0777d0898d55fb1c7a4f5611e2632be5d.
Actions