Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes rubocop#73. This PR changes the Minitest department works on file names end with `_test.rb` by default. RuboCop Minitest only targets files in `test` directory by default until v0.8.1. ```yaml Minitest: Enabled: true Include: - '**/test/**/*' ``` https://github.com/rubocop-hq/rubocop-minitest/blob/v0.8.1/config/default.yml But test files may be located in a directory other than `test` directory. This PR adds files that end of filename is `_test.rb` to be considered test files. This behavior is similar to how RuboCop RSpec works on `_spec.rb`. https://github.com/rubocop-hq/rubocop-rspec/blob/v1.38.1/config/default.yml#L5
- Loading branch information