spec/helpers/sign_up_sheet_helper_spec.rb
Block has too many lines. [75/25] Open
Open
describe "SignUpSheetHelper" do
describe "#check_topic_due_date_value" do
before(:each) do
@assignment = create(:assignment)
@topic = create(:topic, assignment: @assignment)
- 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. [26/25] Open
Open
describe "#get_intelligent_topic_row" do
before(:each) do
@assignment = create(:assignment)
@topic1 = create(:topic, topic_name: "Topic 1", assignment: @assignment)
@topic2 = create(:topic, topic_name: "Topic 2", assignment: @assignment)
- 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.