features/validate/validation.feature in pacto-0.4.0.rc1 vs features/validate/validation.feature in pacto-0.4.0.rc2
- old
+ new
@@ -6,11 +6,11 @@
Given a file named "contracts/simple_contract.json" with:
"""
{
"request": {
"http_method": "GET",
- "path": "/hello",
+ "path": "/api/hello",
"headers": { "Accept": "application/json" },
"params": {}
},
"response": {
@@ -24,12 +24,12 @@
}
}
}
}
"""
- When I successfully run `bundle exec rake pacto:validate['http://localhost:8000','tmp/aruba/contracts/simple_contract.json']`
+ When I successfully run `bundle exec rake pacto:validate['http://localhost:5000','tmp/aruba/contracts/simple_contract.json']`
Then the stdout should contain:
""""
- Validating contracts against host http://localhost:8000
+ Validating contracts against host http://localhost:5000
OK! simple_contract.json
1 valid contract
"""