expertiza/expertiza

View on GitHub
spec/controllers/student_view_controller_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

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

describe StudentViewController do
  let(:instructor) { build(:instructor, id: 2) }
  let(:student1) { build(:student, id: 30, name: :Amanda) }
  # student view is only accessible to instructors, so we will make one

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