Fix Style/ZeroLengthPredicate rubocop issue and remove file list from rubocop_todo
This commit is contained in:
@@ -706,9 +706,3 @@ Style/VariableNumber:
|
||||
Style/WordArray:
|
||||
EnforcedStyle: percent
|
||||
MinSize: 3
|
||||
|
||||
# Offense count: 1
|
||||
# Cop supports --auto-correct.
|
||||
Style/ZeroLengthPredicate:
|
||||
Exclude:
|
||||
- 'app/models/concerns/verification.rb'
|
||||
|
||||
@@ -47,7 +47,7 @@ module Verification
|
||||
end
|
||||
|
||||
def failed_residence_verification?
|
||||
!residence_verified? && failed_census_calls.size > 0
|
||||
!residence_verified? && !failed_census_calls.empty?
|
||||
end
|
||||
|
||||
def no_phone_available?
|
||||
|
||||
Reference in New Issue
Block a user