spec/models/participant_spec.rb
Block has too many lines. [125/25] Open
Open
describe Participant do
let(:team) { build(:assignment_team, id: 1, name: 'myTeam') }
let(:user) { build(:student, id: 4, name: 'no name', fullname: 'no two') }
let(:team_user) { build(:team_user, id: 1, user: user, team: team) }
let(:topic) { build(:topic) }
- 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.