rubocop noise: switched to predicate comparisons
Also introduced because of .ruby-version specification http://www.rubydoc.info/gems/rubocop/RuboCop/Cop/Style/NumericPredicate
This commit is contained in:
@ -7,7 +7,7 @@ class QuizStatus
|
||||
end
|
||||
|
||||
def started
|
||||
candidate.answers.count > 0
|
||||
candidate.answers.count.positive?
|
||||
end
|
||||
|
||||
def on_summary
|
||||
|
Reference in New Issue
Block a user