rubocop noise: introduced and resolved rails specific cop

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

No files matched your search

+1 -3
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 &&