checkout/spec/checkout/steps/cart_step_spec.rb
Block has too many lines. [36/25] Open
Open
describe CartStep do
let(:order) { double(has_line_items?: true) }
let(:user_address_storage) { double(load_default_addresses: nil) }
let(:finish) { double(cart_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.