expertiza/expertiza

View on GitHub
spec/models/scale_spec.rb

Summary

Maintainability
A
0 mins
Test Coverage

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

describe 'scale' do
  let(:questionnaire) { Questionnaire.new min_question_score: 0, max_question_score: 5 }
  let(:scale) { Scale.new id: 1, type: 'Scale', seq: 1.0, txt: 'test txt', weight: 1, questionnaire: questionnaire }
  let(:answer) { Answer.new answer: 8 }

Severity: Minor
Found in spec/models/scale_spec.rb by rubocop

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