better description
[mkws-moved-to-github.git] / test / spec / mkws-pazpar2.js
index 9de6f38..0f19add 100644 (file)
@@ -353,13 +353,13 @@ describe("Check active clients author", function () {
     });
 
     // avoid race conditions of source facets updates
-    it("wait a little bit for source facets", function () {
+    it("wait a little bit for a source facets update", function () {
         // wait a half second, to show the target view
         var waittime = 0.5;
         var time = (new Date).getTime();
 
         waitsFor(function () {
-            return (new Date).getTime() - time > waittime * jasmine_config.second ? true : false;
+            return (new Date).getTime() - time > (waittime * jasmine_config.second) ? true : false;
         }, "wait some miliseconds", (waittime + 0.5) * jasmine_config.second);
 
         runs(function () {});