Run rubocop -a

This commit is contained in:
Luis Ramos
2020-08-26 22:16:02 +01:00
parent 274cdefa26
commit f9aac02e13

View File

@@ -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 }