Block has too many lines. [88/25] 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. [47/25] Open
context 'on users#list_pending_requested page' do
before(:each) { create(:requested_user) }
it 'allows super-admin and admin to communicate with requesters by clicking email addresses' do
visit '/'
- 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. [29/25] Open
context 'request account feature' do
it 'works correctly', js: true do
# click 'REQUEST ACCOUNT' button on root path, redirect to users#request_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.
Block has too many lines. [27/25] Open
it 'works correctly', js: true do
# click 'REQUEST ACCOUNT' button on root path, redirect to users#request_new page
visit '/'
click_link 'Request account'
expect(page).to have_current_path('/users/request_new?role=Instructor')
- 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.
Final newline missing. Open
end
- Exclude checks