spec/helpers/answer_helper_spec.rb
Block has too many lines. [85/25] Open
Open
describe AnswerHelper do
before(:each) do
@assignment1 = create(:assignment, name: 'name1', directory_path: 'name1')
@assignment2 = create(:assignment, name: 'name2', directory_path: 'name2')
@questionnaire1 = create(:questionnaire)
- 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.