Releases: rubocop/rubocop-minitest
Releases · rubocop/rubocop-minitest
RuboCop Minitest 0.16.0
New features
- #147: Add
EnforcedStyle
config parameter for Minitest/GlobalExpectations
. (@gi)
Bug fixes
- #142: Fix
Minitest/GlobalExpectations
autocorrect when receiver is lambda. (@gi)
- #150: Fix a false positive for
Minitest/AssertEmpty
and RefuteEmpty
cops when using empty
method with any arguments. (@koic)
RuboCop Minitest 0.15.2
Bug fixes
- #145: Mark
Minitest/AssertEmptyLiteral
as safe auto-correction. (@koic)
RuboCop Minitest 0.15.1
Bug fixes
- #143: Fix an error for
Minitest/LiteralAsActualArgumentTest
when expected and actual arguments are literals. (@koic)
RuboCop Minitest 0.15.0
New features
- #140: Make
Minitest/AssertNil
and Minitest/RefuteNil
aware of assert(obj.nil?)
and refute(obj.nil?)
. (@koic)
RuboCop Minitest 0.14.0
New features
- #133: Add new
Minitest/UnreachableAssertion
cop. (@koic)
RuboCop Minitest 0.13.0
New features
- #136: Support Active Support's
test
method for Minitest/MultipleAssertions
and Minitest/NoAssertions
cops. (@koic)
RuboCop Minitest 0.12.1
Bug fixes
- #131: Fix an error for
Minitest/MultipleAssertions
and fixes a false positive for test
block. (@koic)
RuboCop Minitest 0.11.1
Changes
- #126: Mark
Minitest/AssertWithExpectedArgument
as unsafe. (@koic)
RuboCop Minitest 0.11.0
New features
- #117: Add new cop
Minitest/AssertWithExpectedArgument
to check for unintended usages of assert
instead of assert_equal
. (@cstyles)
Bug fixes
- #122: Fix
Minitest/TestMethodName
for tests with multiple assertions. (@ghiculescu)
Changes
- #118: (BREAKING) Fix
Minitest/AssertEmptyLiteral
by making it check for assert_equal([], array)
instead of assert([], array)
. (@cstyles)
- #125: Require RuboCop 0.90 or higher. (@koic)