mirror of
https://github.com/openfoodfoundation/openfoodnetwork
synced 2026-02-09 23:06:06 +00:00
Update specs for changed attribute URI
This commit is contained in:
@@ -33,7 +33,7 @@ describe "EnterpriseGroups", type: :request, swagger_doc: "dfc.yaml", rswag_auto
|
||||
|
||||
expect(graph[1]["@type"]).to eq "dfc-b:Enterprise"
|
||||
expect(graph[1]).to include(
|
||||
"dfc-b:hasName" => "Sustainable Farmers",
|
||||
"dfc-b:name" => "Sustainable Farmers",
|
||||
"dfc-b:affiliatedBy" => "http://test.host/api/dfc/enterprises/10000",
|
||||
)
|
||||
end
|
||||
@@ -54,7 +54,7 @@ describe "EnterpriseGroups", type: :request, swagger_doc: "dfc.yaml", rswag_auto
|
||||
|
||||
expect(graph[0]).to include(
|
||||
"@type" => "dfc-b:Enterprise",
|
||||
"dfc-b:hasName" => "Sustainable Farmers",
|
||||
"dfc-b:name" => "Sustainable Farmers",
|
||||
"dfc-b:hasAddress" => "http://test.host/api/dfc/addresses/40000",
|
||||
"dfc-b:affiliatedBy" => "http://test.host/api/dfc/enterprises/10000",
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user