refactor to use single object mkws, part of jQuery rewrite MKWS-24
[mkws-moved-to-github.git] / test / spec / mkws-pazpar2.js
index cf60cf9..772127d 100644 (file)
@@ -4,6 +4,8 @@
  *
  */
 
+var debug = mkws.debug;
+
 function get_hit_counter() {
     if ($("#mkwsPager").length == 0) return -1;
 
@@ -146,7 +148,7 @@ describe("Check Termlist", function () {
         expect(authors.length == 1).toBe(true);
     });
 
-    it("Limit search to first source", function () {
+    it("limit search to first source", function () {
         var hits_all_targets = get_hit_counter();
 
         var click = $("div#mkwsFacetSources div.term:nth-child(2) a").trigger("click");
@@ -172,7 +174,7 @@ describe("Check Termlist", function () {
         });
     });
 
-    it("Limit search to first author", function () {
+    it("limit search to first author", function () {
         var hits_all_targets = get_hit_counter();
 
         var click = $("div#mkwsFacetAuthors div.term:nth-child(2) a").trigger("click");
@@ -190,7 +192,7 @@ describe("Check Termlist", function () {
         });
     });
 
-    it("Show record author", function () {
+    it("show record author", function () {
         show_record();
     });
 });
@@ -202,7 +204,7 @@ describe("Check status client counter", function () {
     }
     var time = get_time();
 
-    it("Limit search to first author", function () {
+    it("check status clients", function () {
 
         waitsFor(function () {
             var clients = $("div#mkwsStat span.clients");