correct error messages for author facets
authorWolfram Schneider <wosch@indexdata.dk>
Wed, 22 Oct 2014 12:17:17 +0000 (14:17 +0200)
committerWolfram Schneider <wosch@indexdata.dk>
Wed, 22 Oct 2014 12:17:17 +0000 (14:17 +0200)
We are checking for 2 authors links at least

test/spec/mkws-pazpar2.js

index 274e45f..211b61c 100644 (file)
@@ -254,7 +254,7 @@ describe("Check Termlist", function () {
 
         waitsFor(function () {
             return $("div.mkwsFacet[data-mkws-facet='author'] div.mkwsTerm").length >= 2 ? true : false;
-        }, "At least one author link displayed", 4 * jasmine_config.second);
+        }, "At least two author link displayed", 4 * jasmine_config.second);
 
         runs(function () {
             expect($("div.mkwsFacet[data-mkws-facet='author'] div.mkwsTerm").length).toBeGreaterThan(1);