X-Git-Url: http://lists.indexdata.dk/cgi-bin?a=blobdiff_plain;f=test%2Fspec%2Fmkws-pazpar2.js;h=6db773e4e2b0c756edd18efa7baadca6f58b718b;hb=2c1020a69e9779e0ec6a1c7d70d2e8d57ea97a5f;hp=bd604549d0178f5b61686308666c858d800af057;hpb=a565d39f1908fa405b18cc798d273b0fcbaff070;p=mkws-moved-to-github.git
diff --git a/test/spec/mkws-pazpar2.js b/test/spec/mkws-pazpar2.js
index bd60454..6db773e 100644
--- a/test/spec/mkws-pazpar2.js
+++ b/test/spec/mkws-pazpar2.js
@@ -740,9 +740,12 @@ describe("Check SortBy options", function () {
describe("Check translations", function () {
var $ = mkws.$;
+
// handle html entities, "Zurück" => "Zurück"
var M = function (string) {
- return $("").html(mkws.M(string)).text()
+ var text = $("").html(mkws.M(string)).text()
+ debug("translate check for: " + text);
+ return text;
};
var lang = function () {
return mkws.config.lang
@@ -829,7 +832,7 @@ describe("Check translations", function () {
expect($(list[2]).text()).toBe(M("Authors"));
});
- it("facets navigation", function () {
+ it("facets navigation/filter", function () {
var list = $(".mkws-navi > span");
expect(list.length).toBe(2);