From 13d41dc1aaf7b15052614a845b9e303ba20f016b Mon Sep 17 00:00:00 2001 From: luisramos0 Date: Fri, 14 Jun 2019 13:59:24 +0100 Subject: [PATCH] Remove duplicate modify entry in factories --- spec/factories.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/spec/factories.rb b/spec/factories.rb index aa0b05c8bb..450984f89c 100644 --- a/spec/factories.rb +++ b/spec/factories.rb @@ -183,9 +183,7 @@ FactoryBot.modify do # Prevent inconsistent ordering in specs when all option types have the same (0) position sequence(:position) end -end -FactoryBot.modify do factory :stock_location, class: Spree::StockLocation do # keeps the test stock_location unique initialize_with { DefaultStockLocation.find_or_create }