brainspec / enumerize

Enumerated attributes with I18n and ActiveRecord/Mongoid support
MIT License
1.72k stars 190 forks source link

Added environment variable MT_COMPAT for Minitest 5.19. #432

Closed okoshi-f closed 11 months ago

okoshi-f commented 11 months ago

The GitHub Actions test may be failing due to the absence of the environment variable MT_COMPAT, which was added in Minitest 5.19.

https://github.com/minitest/minitest/blob/ed88d196bc5dde30d48026ef7b338997b640e799/History.rdoc#L6

This fix would not resolve the 'uninitialized constant Mongoid::Railties::ActiveJobSerializers::ActiveJob (NameError)'.

nashby commented 11 months ago

@okoshi-f thanks for the PR but looks like it's not related to minitest. Turns out it was mongoid that started requiring active_job to be required. So I added it to the test_helper and it fixed this issue.