-
-
Notifications
You must be signed in to change notification settings - Fork 389
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add RuboCop minitest * Fix safe offenses - Minitest/AssertEmpty - Minitest/AssertEmptyLiteral - Minitest/AssertIncludes - Minitest/AssertInstanceOf - Minitest/AssertPredicate - Minitest/EmptyLineBeforeAssertionMethods - Minitest/LiteralAsActualArgument * Fix unsafe offenses - Minitest/AssertPredicate - Minitest/AssertTruthy - Minitest/RefuteFalse - Minitest/RefuteIncludes - Minitest/RefuteRespondTo * Disable Minitest/MultipleAssertions cop * Disable Minitest/NoAssertions in tests using mocha Some tests are using Mocha `expects` and therefore do not require `assert`. This commit disables offense on those specific tests, leaving it enabled for all other ones
- Loading branch information
Showing
24 changed files
with
432 additions
and
62 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -15,5 +15,6 @@ end | |
|
||
group :rubocop do | ||
gem 'rubocop' | ||
gem 'rubocop-minitest' | ||
gem 'rubocop-performance' | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.