checkout/spec/checkout/steps/complete_step_spec.rb
Block has too many lines. [54/25] Open
Open
describe CompleteStep do
let(:fulfilments) { double(fulfil: nil) }
let(:notifications) { double(notify: nil) }
let(:finish) { double(complete_step_finished?: false, complete_step: nil) }
- 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.