diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index 008941088f..f2d35ff2d9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -16,12 +16,6 @@ Gemspec/RequiredRubyVersion: - 'engines/order_management/order_management.gemspec' - 'engines/web/web.gemspec' -# Offense count: 2 -# This cop supports safe autocorrection (--autocorrect). -Layout/ClosingParenthesisIndentation: - Exclude: - - 'spec/system/admin/orders_spec.rb' - # Offense count: 1 # This cop supports safe autocorrection (--autocorrect). Layout/EmptyLines: diff --git a/spec/system/admin/orders_spec.rb b/spec/system/admin/orders_spec.rb index 064d7c2d1e..763e453264 100644 --- a/spec/system/admin/orders_spec.rb +++ b/spec/system/admin/orders_spec.rb @@ -483,7 +483,7 @@ describe ' page.find("#listing_orders thead th:first-child input[type=checkbox]").click expect(page.find( "#listing_orders tbody tr td:first-child input[type=checkbox]") - ).to be_checked + ).to be_checked # enables print invoices button page.find("span.icon-reorder", text: "ACTIONS").click expect(page).to have_content "Print Invoices" @@ -491,7 +491,7 @@ describe ' page.find("#listing_orders thead th:first-child input[type=checkbox]").trigger("click") expect(page.find( "#listing_orders tbody tr td:first-child input[type=checkbox]") - ).to_not be_checked + ).to_not be_checked # disables print invoices button page.find("span.icon-reorder", text: "ACTIONS").click expect(page).to_not have_content "Print Invoices"