X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=blobdiff_plain;f=test%2Fspec%2Fmkws-config.js;h=980b2621abd04fa1c3c26d5a9fc2e2958efb83a7;hp=59a0132f44cf39ce9355e04b97a816c99668acf6;hb=b2f105ea2c3a05d605daf133da207220b7f639b0;hpb=997a4265c4d5f86b7b7772af35a5ccb7d7efe4ab diff --git a/test/spec/mkws-config.js b/test/spec/mkws-config.js index 59a0132..980b262 100644 --- a/test/spec/mkws-config.js +++ b/test/spec/mkws-config.js @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2014 IndexData ApS. http://indexdata.com +/* Copyright (c) 2013-2014 Index Data ApS. http://indexdata.com * * check mkws_config = {} object in browser * @@ -34,8 +34,8 @@ describe("Check mkws.config object", function () { describe("Check pazpar2 config", function () { - it("pazpar2path is a path or an full URL", function () { - expect(mkws.config.pazpar2_url).toMatch(/^(\/|https?:\/\/)/) + it("pazpar2_url is a path or an full URL", function () { + expect(mkws.config.pazpar2_url).toMatch(/^(\/|https?:\/\/|undefined$)/) }); });