spec/models/quiz_question_spec.rb
Block has too many lines. [28/25] Open
Open
describe QuizQuestion do
let(:quiz_question) { QuizQuestion.new }
let(:quiz_question_choice1) { QuizQuestionChoice.new }
let(:quiz_question_choice2) { QuizQuestionChoice.new }
let(:quiz_question_choice3) { QuizQuestionChoice.new }
- Read upRead up
- Exclude checks
This cop checks if the length of a block exceeds some maximum value. Comment lines can optionally be ignored. The maximum allowed length is configurable. The cop can be configured to ignore blocks passed to certain methods.