diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index d6bae6504a..0f7e5b5daa 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -6,15 +6,6 @@ # Note that changes in the inspected code, or installation of new # versions of RuboCop, may require this file to be generated again. -# Offense count: 4 -# This cop supports safe autocorrection (--autocorrect). -# Configuration parameters: EnforcedStyle. -# SupportedStyles: space, no_space -Layout/LineContinuationSpacing: - Exclude: - - 'spec/system/admin/enterprise_fees_spec.rb' - - 'spec/system/admin/order_spec.rb' - # Offense count: 94 # This cop supports safe autocorrection (--autocorrect). # Configuration parameters: Max, AllowHeredoc, AllowURI, URISchemes, IgnoreCopDirectives, AllowedPatterns. diff --git a/spec/system/admin/enterprise_fees_spec.rb b/spec/system/admin/enterprise_fees_spec.rb index 0669db1418..9ff0ae0da9 100644 --- a/spec/system/admin/enterprise_fees_spec.rb +++ b/spec/system/admin/enterprise_fees_spec.rb @@ -49,12 +49,12 @@ describe ' expect(page).to have_selector "input[value='Hello!']" # When I fill in the calculator fields and click update - fill_in "#{prefix}_calculator_attributes"\ + fill_in "#{prefix}_calculator_attributes" \ "_preferred_flat_percent", with: '12.34' click_button 'Update' # Then I should see the correct values in my calculator fields - expect(page).to have_selector("##{prefix}_calculator"\ + expect(page).to have_selector("##{prefix}_calculator" \ "_attributes_preferred_flat_percent[value='12.34']") end @@ -139,7 +139,7 @@ describe ' it 'shows error flash when updating fee amount with invalid values' do # When I fill in the calculator fields and click update fill_in( - "#{prefix}_calculator_attributes_"\ + "#{prefix}_calculator_attributes_" \ 'preferred_flat_percent', with: "\'20.0'" ) click_button 'Update' diff --git a/spec/system/admin/order_spec.rb b/spec/system/admin/order_spec.rb index 6c0cb60835..4007224466 100644 --- a/spec/system/admin/order_spec.rb +++ b/spec/system/admin/order_spec.rb @@ -643,7 +643,7 @@ describe ' end it 'can send invoices' do - accept_alert "An invoice for this order will be sent to the customer. "\ + accept_alert "An invoice for this order will be sent to the customer. " \ "Are you sure you want to continue?" do click_link "Send Invoice" end