Skip to content

Commit

Permalink
Update seeds
Browse files Browse the repository at this point in the history
  • Loading branch information
rosschapman committed May 23, 2024
1 parent a02cd6e commit 9fdbb91
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,10 @@
hero_image: FactoryBot.create(:media)
)
marketplace = FactoryBot.create(:marketplace, :ready_for_shopping, product_quantity: 16, room: marketplace_section)
magic_group = FactoryBot.create(:marketplace_tag, :group, bazaar: marketplace.bazaar, label: "Magic")
magic_menu_group = FactoryBot.create(:marketplace_tag, :group, marketplace: marketplace, label: "Magic")
fire_tag = FactoryBot.create(:marketplace_tag, bazaar: marketplace.bazaar, label: "🔥")
marketplace.products.sample(8).each do |product|
product.tags << magic_group
product.tags << magic_menu_group
end
marketplace.products.sample(8).each do |product|
product.tags << fire_tag
Expand Down

0 comments on commit 9fdbb91

Please sign in to comment.