Handlebars doesn't like being hot-included from its home. It wants you to download...
[mkws-moved-to-github.git] / test / spec / mkws-pazpar2.js
index 9a9ce45..06447f6 100644 (file)
@@ -4,7 +4,8 @@
  *
  */
 
-var debug = mkws.debug;
+var debug_level = mkws.debug_level;
+var debug = mkws.debug_function;
 
 var get_hit_counter = function () {
         // not yet here
@@ -45,7 +46,7 @@ describe("Check pazpar2 search", function () {
 
         // wait for service proxy auth
         waitsFor(function () {
-            return mkws.service_proxy_auth;
+            return mkws.authenticated;
         }, "SP auth done", 10 * 1000);
 
         runs(function () {
@@ -57,6 +58,11 @@ describe("Check pazpar2 search", function () {
 });
 
 
+/*
+ * This part runs in background. It should be rewritten with
+ * async jasmine functions
+ *
+ */
 describe("Check pazpar2 navigation", function () {
     // Asynchronous part
     it("check running search next/prev", function () {