spec/controllers/questions_controller_spec.rb
Block has too many lines. [27/25] Open
Open
describe QuestionsController do
let(:instructor) { build(:instructor, id: 6) }
let!(:questionnaire) { create(:questionnaire, id: 1) }
let!(:question) { create(:question, id: 1, questionnaire_id: 1) }
- 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.