expertiza/expertiza

View on GitHub
spec/features/account_request_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

Block has too many lines. [54/25]
Open

describe 'new user request' do
  before(:each) do
    # create(:role_of_student)
    # create(:role_of_instructor)
    # create(:role_of_administrator)

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

  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'

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.

There are no issues that match your filters.

Category
Status