Sha256: 718f325f2af9a4064a54f0c975f5ba7fa2b21fd23555c95d188cfee12ba9af21

Contents?: true

Size: 1.5 KB

Versions: 3

Compression:

Stored size: 1.5 KB

Contents

{
    "consumer": {
        "name": "an unknown consumer"
    },
    "provider": {
        "name": "an unknown provider"
    },
    "interactions": [
        {
            "description": "a test request",
            "request": {
                "method": "get",
                "path": "/weather",
                "query": ""
            },
            "response": {
                "status": 200,
                "headers" : {"Content-type": "application/json"},
                "body": {"message" : "this is not the weather you are looking for"}

            },
            "provider_state": "the weather is cloudy"
        },{
            "description": "another test request",
            "request": {
                "method": "get",
                "path": "/weather",
                "query": ""
            },
            "response": {
                "status": 200,
                "headers" : {"Content-type": "application/json"},
                "body": {"message" : "this is not the weather you are looking for"}

            }
        },{
            "description": "another test request",
            "provider_state": "a missing provider state",
            "request": {
                "method": "get",
                "path": "/weather",
                "query": ""
            },
            "response": {
                "status": 200,
                "headers" : {"Content-type": "application/json"},
                "body": {"message" : "this is not the weather you are looking for"}

            }
        }
    ]
}

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
pact-1.0.39 spec/support/test_app_fail.json
pact-1.1.0.rc2 spec/support/test_app_fail.json
pact-1.0.38 spec/support/test_app_fail.json