Skip to content

Commit

Permalink
Remove duplicate modify entry in factories
Browse files Browse the repository at this point in the history
  • Loading branch information
luisramos0 committed Jun 14, 2019
1 parent 5ca382b commit 13d41dc
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions spec/factories.rb
Original file line number Diff line number Diff line change
Expand Up @@ -183,9 +183,7 @@
# 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 }
Expand Down

0 comments on commit 13d41dc

Please sign in to comment.