spec/models/bookmark_rating_response_map_spec.rb
Block has too many lines. [31/25] Open
Open
describe BookmarkRatingResponseMap do
let(:assignment) { build(:assignment, id: 1, name: 'no assgt') }
let(:questionnaire1) { build(:questionnaire, id: 1, type: 'MetareviewQuestionnaire') }
let(:questionnaire2) { build(:questionnaire, id: 2, type: 'BookmarkRatingQuestionnaire') }
let(:model) { BookmarkRatingResponseMap.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.