Created
August 4, 2016 04:16
-
-
Save rmzelle/8b75ac5061913686043c411fe924c51a to your computer and use it in GitHub Desktop.
ping-api.com test against http://validator.w3.org/nu/ via GET
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
this.setupCase = function () { | |
return { | |
"headers": {}, | |
"params": { | |
"doc": "https://raw.githubusercontent.com/citation-style-language/styles/master/apa.csl", | |
"schema": "https://raw.githubusercontent.com/citation-style-language/schema/v1.0.1/csl.rnc https://raw.githubusercontent.com/citation-style-language/schema/master/csl.sch", | |
"parser": "xml", | |
"laxtype": "yes", | |
"level": "error", | |
"out": "json", | |
"showsource": "yes" | |
}, | |
"body": {} | |
}; | |
}; | |
this.testCase = function (test, response) { | |
test.equal(response.statusCode, 200); | |
test.equal(response.body.messages, []); | |
test.done(); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment