checkout/spec/checkout/integrations/spree_like/cart_step.rb
Block has too many lines. [41/25] Open
Open
shared_examples_for 'cart step using spree-like container' do
context 'when processing cart step' do
context 'and the order has line items' do
let(:order) { create(:order_with_totals) }
- 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. [39/25] Open
Open
context 'when processing cart step' do
context 'and the order has line items' do
let(:order) { create(:order_with_totals) }
before(:each) do
- 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.