spec/models/authority_spec.rb
Block has too many lines. [34/25] Open
Open
describe Authority do
let(:user1) { create(:student, name: 'expertizauser', id: 1) }
let(:admin) { build(:admin) }
describe '#initialize' do
it 'sets the current user' do
- 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.