-/* Copyright (c) 2013 IndexData ApS. http://indexdata.com
+/* Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com
*
* perform papzpar2 / pz2.js search & retrieve request in the browser
*
});
describe("Check pazpar2 search", function () {
- it("pazpar2 was successfully initialize", function () {
+ it("pazpar2 was successfully initialized", function () {
expect(mkws_config.error).toBe(undefined);
});
expect(click.length).toBe(1);
waitsFor(function () {
- if ($("div#mkwsNavi").length && $("div#mkwsNavi").text().match(/Source: /)) {
+ if ($("div#mkwsNavi").length && $("div#mkwsNavi").text().match(/(Source|datenquelle|kilder): /i)) {
return true;
} else {
return false;