Feature: Validation Validation ensures that a external service conform to a Contract. Scenario: Validation via a rake task Given a file named "contracts/simple_contract.json" with: """ { "request": { "method": "GET", "path": "/hello", "headers": { "Accept": "application/json" }, "params": {} }, "response": { "status": 200, "headers": { "Content-Type": "application/json" }, "body": { "description": "A simple response", "type": "object", "properties": { "message": { "type": "string" } } } } } """ When I successfully run `bundle exec rake pacto:validate['http://localhost:8000','tmp/aruba/contracts/simple_contract.json']` Then the output should contain: """" Validating contracts in directory tmp/aruba/contracts/simple_contract.json against host http://localhost:8000 simple_contract.json: OK! 1 valid contract """