summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Newson <rnewson@apache.org>2014-09-01 12:14:30 +0100
committerRobert Newson <rnewson@apache.org>2014-09-01 12:16:05 +0100
commit7465fe8a0700a0ab427d246e59b27c6821d7be2a (patch)
tree3df6b151050fca9ea7503d3b1674ce1e142b40a5
parent32412d95333e058b6a9fc2aab1c714d419575eef (diff)
downloadcouchdb-7465fe8a0700a0ab427d246e59b27c6821d7be2a.tar.gz
fix spec
-rw-r--r--share/www/spec/couch_js_class_methods_spec.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/share/www/spec/couch_js_class_methods_spec.js b/share/www/spec/couch_js_class_methods_spec.js
index 6b64c195d..fc8db36fd 100644
--- a/share/www/spec/couch_js_class_methods_spec.js
+++ b/share/www/spec/couch_js_class_methods_spec.js
@@ -300,11 +300,11 @@ describe 'CouchDB class'
it 'should add flush true to the request when there is a test argument'
CouchDB.should.receive("request", "once").with_args("GET", "/_stats/httpd/requests?flush=true")
- CouchDB.requestStats(['httpd', 'requests'], 'test');
+ CouchDB.requestStats(['couchdb', 'httpd', 'requests'], 'test');
end
it 'should still work when there is a test argument'
- var stats = CouchDB.requestStats(['httpd_status_codes', '200'], 'test');
+ var stats = CouchDB.requestStats(['couchdb', 'httpd_status_codes', 200], 'test');
stats.description.should.eql 'number of HTTP 200 OK responses'
stats.sum.should.be_a Number
end
@@ -398,4 +398,4 @@ describe 'CouchDB class'
end
end
end
-end \ No newline at end of file
+end