spec/models/course_team_spec.rb
Block has too many lines. [87/25] Open
Open
describe 'CourseTeam' do
let(:course_team1) { build(:course_team, id: 1, name: 'no team') }
let(:user2) { build(:student, id: 2, name: 'no name') }
let(:participant) { build(:participant, user: user2) }
let(:course) { build(:course, id: 1, name: 'ECE517') }
- 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.