From f9aac02e1323e0693adb18bdf64569c35eb69398 Mon Sep 17 00:00:00 2001 From: Luis Ramos Date: Wed, 26 Aug 2020 22:16:02 +0100 Subject: [PATCH] Run rubocop -a --- spec/models/spree/stock_item_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/spec/models/spree/stock_item_spec.rb b/spec/models/spree/stock_item_spec.rb index ed634e854f..6dccf13665 100644 --- a/spec/models/spree/stock_item_spec.rb +++ b/spec/models/spree/stock_item_spec.rb @@ -9,8 +9,8 @@ RSpec.describe Spree::StockItem do product_1 = create(:product) product_2 = create(:product) - stock_location.stock_items.where(:variant_id => product_1.master.id).first.adjust_count_on_hand(10) - stock_location.stock_items.where(:variant_id => product_2.master.id).first.adjust_count_on_hand(20) + stock_location.stock_items.where(variant_id: product_1.master.id).first.adjust_count_on_hand(10) + stock_location.stock_items.where(variant_id: product_2.master.id).first.adjust_count_on_hand(20) end subject { stock_location.stock_items.order(:id).first }