diff --git a/.rubocop_todo.yml b/.rubocop_todo.yml index b4ef66b1821..5bd856f79d9 100644 --- a/.rubocop_todo.yml +++ b/.rubocop_todo.yml @@ -512,7 +512,6 @@ Style/AccessorGrouping: - "core/app/models/spree/order.rb" - "core/lib/generators/spree/dummy/dummy_generator.rb" - "core/lib/spree/core/search/base.rb" - - "core/lib/spree/core/state_machines/order.rb" - "core/lib/spree/core/stock_configuration.rb" # Offense count: 1 diff --git a/core/app/models/spree/core/state_machines/order.rb b/core/app/models/spree/core/state_machines/order.rb index c52e107fe52..691b20e212a 100644 --- a/core/app/models/spree/core/state_machines/order.rb +++ b/core/app/models/spree/core/state_machines/order.rb @@ -10,9 +10,7 @@ def self.included(klass) module ClassMethods attr_accessor :previous_states - attr_writer :next_event_transitions - attr_writer :checkout_steps - attr_writer :removed_transitions + attr_writer :next_event_transitions, :checkout_steps, :removed_transitions def checkout_flow(&block) if block_given?