spec/features/account_request_spec.rb
Block has too many lines. [54/25] Open
Open
describe 'new user request' do
before(:each) do
# create(:role_of_student)
# create(:role_of_instructor)
# create(:role_of_administrator)
- 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.
Block has too many lines. [27/25] Open
Open
context 'request account feature' do
it 'works correctly', js: true do
# click 'REQUEST ACCOUNT' button on root path, redirect to users# new page
visit '/'
click_link 'Request account'
- 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.