rubocop noise: introduced and resolved rails specific cop

http://rubocop.readthedocs.io/en/latest/cops/#rails
This commit is contained in:
Mark Moser
2016-09-08 11:52:34 -05:00
parent b74249a05f
commit d54b99135e
6 changed files with 11 additions and 10 deletions

View File

@ -14,9 +14,7 @@ class QuizStatus
candidate.submitted_answers.count == candidate.questions.count
end
def completed
candidate.completed
end
delegate :completed, to: :candidate
def can_submit
on_summary &&