Fixed the consumer-contract
[demos/example-siren] / consumer / src / __tests__ / delete-order.spec.js
index 88498b9..6f0e5d1 100644 (file)
@@ -32,7 +32,8 @@ describe("Siren Pact test", () => {
       // Get Root Request
       .uponReceiving("get root")
       .withRequest({
-        path: "/",
+        method: "GET",
+        path: "/"
       })
       .willRespondWith({
         status: 200,
@@ -48,6 +49,7 @@ describe("Siren Pact test", () => {
       // Get Orders Request
       .uponReceiving("get all orders")
       .withRequest({
+        method: "GET",
         path: "/orders",
       })
       .willRespondWith({