commit | 747ec0f8dcd685d6b4fa7ef1687b7f571a5a0284 | [log] [tgz] |
---|---|---|
author | Robert Kowalski <rok@kowalski.gd> | Sun Nov 09 16:05:44 2014 +0100 |
committer | Robert Kowalski <rok@kowalski.gd> | Sun Nov 09 16:41:00 2014 +0100 |
tree | 1d19d8dbf9fe6e42319ce4bda5eb8c8978894751 | |
parent | dac654b0e526db5d27d57115859447b31cefbcb0 [diff] |
Port old JS Spec tests to Mocha Changes that happened to jquery.couch.js which were not reflected by the current failing JSpec Testsuite and required changes to the testuite: - jquery.couch returns the time for the request and not an object with an url property - jquery.couch does not show alerts any more - success callbacks don't return a status any more - db.copyDoc expects an docid as target in the first option object, not a third parameter with an `Destination` property COUCHDB-1566
$.couch is used to communicate with a CouchDB server.
Install the dependencies:
$ bower install
Enable CORS:
curl -X PUT http://localhost:5984/_config/httpd/enable_cors -d '"true"' curl -X PUT http://localhost:5984/_config/cors/origins -d '"*"'
Restart CouchDB & open test/runner.html
in a browser to run the testsuite.