Sha256: 7b89f134922df6290ad4022fa27966fdfc6169e5068d26b39f5c0dcac2e9094e

Contents?: true

Size: 1.13 KB

Versions: 3

Compression:

Stored size: 1.13 KB

Contents

{
  "consumer": {
    "name": "Message Consumer"
  },
  "provider": {
    "name": "Message Provider"
  },
  "interactions": [
    {
      "description": null,
      "provider_state": "User subscribed",
      "request": {
        "method": "MESSAGE",
        "path": ""
      },
      "response": {
        "body": {
          "first_name": {
            "json_class": "Pact::SomethingLike",
            "contents": "John"
          },
          "last_name": {
            "json_class": "Pact::SomethingLike",
            "contents": "Smith"
          },
          "subscribed": true
        }
      }
    },
    {
      "description": null,
      "provider_state": "User unsubscribed",
      "request": {
        "method": "MESSAGE",
        "path": ""
      },
      "response": {
        "body": {
          "first_name": {
            "json_class": "Pact::SomethingLike",
            "contents": "John"
          },
          "last_name": {
            "json_class": "Pact::SomethingLike",
            "contents": "Smith"
          },
          "subscribed": false
        }
      }
    }
  ],
  "metadata": {
    "pactSpecificationVersion": "1.0.0"
  }
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact-messages-0.2.0 example/user-app/spec/pacts/message_consumer-message_provider.json
pact-messages-0.1.1 example/user-app/spec/pacts/message_consumer-message_provider.json
pact-messages-0.1.0 example/user-app/spec/pacts/message_consumer-message_provider.json