Skip to content

Commit

Permalink
feat: update
Browse files Browse the repository at this point in the history
  • Loading branch information
kuroweb committed Aug 18, 2024
1 parent 0e30b60 commit 91afd9d
Showing 1 changed file with 8 additions and 4 deletions.
12 changes: 8 additions & 4 deletions volumes/backend/spec/services/search/related_product_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -231,8 +231,8 @@
end

context "pc_koubouを指定した場合" do
let!(:pc_koubou_product_a) { create(:pc_koubou_product, product:, name: "IosysProduct A") }
let!(:pc_koubou_product_b) { create(:pc_koubou_product, product:, name: "IosysProduct B") }
let!(:pc_koubou_product_a) { create(:pc_koubou_product, product:, name: "PcKoubouProduct A") }
let!(:pc_koubou_product_b) { create(:pc_koubou_product, product:, name: "PcKoubouProduct B") }

context "pc_koubou.allの場合" do
let!(:platform_mask) { "pc_koubou.all" }
Expand All @@ -256,8 +256,8 @@
end

context "used_sofmapを指定した場合" do
let!(:used_sofmap_product_a) { create(:used_sofmap_product, product:, name: "IosysProduct A") }
let!(:used_sofmap_product_b) { create(:used_sofmap_product, product:, name: "IosysProduct B") }
let!(:used_sofmap_product_a) { create(:used_sofmap_product, product:, name: "UsedSofmapProduct A") }
let!(:used_sofmap_product_b) { create(:used_sofmap_product, product:, name: "UsedSofmapProduct B") }

context "used_sofmap.allの場合" do
let!(:platform_mask) { "used_sofmap.all" }
Expand All @@ -280,5 +280,9 @@
end
end
end

context "page, perでのページングをテストする"

context "sort, orderでのソートをテストする"
end
end

0 comments on commit 91afd9d

Please sign in to comment.