mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-01-24 20:36:49 +00:00
Name DFC test data to clarify content
The DFC has several products like PhysicalProduct and SuppliedProduct. Here we have a supplied product.
This commit is contained in:
@@ -40,7 +40,7 @@ describe "SuppliedProducts", type: :request do
|
||||
|
||||
it "updates a variant's name" do
|
||||
params = { enterprise_id: enterprise.id, id: variant.id }
|
||||
request_body = DfcProvider::Engine.root.join("spec/support/patch_product.json").read
|
||||
request_body = DfcProvider::Engine.root.join("spec/support/patch_supplied_product.json").read
|
||||
|
||||
expect {
|
||||
put(
|
||||
|
||||
Reference in New Issue
Block a user