From f75e11f24f8dcbff0f27ff4b3b1c81be38f41fb4 Mon Sep 17 00:00:00 2001 From: Wolfram Schneider Date: Wed, 10 Sep 2014 10:39:50 +0000 Subject: [PATCH] config.pazpar2_url can be undefined, part of MKWS-253 --- test/spec/mkws-config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/spec/mkws-config.js b/test/spec/mkws-config.js index 4cba621..b6852a9 100644 --- a/test/spec/mkws-config.js +++ b/test/spec/mkws-config.js @@ -35,7 +35,7 @@ describe("Check mkws.config object", function () { describe("Check pazpar2 config", function () { it("pazpar2_url is a path or an full URL", function () { - expect(mkws.config.pazpar2_url).toMatch(/^(\/|https?:\/\/)/) + expect(mkws.config.pazpar2_url).toMatch(/^(\/|https?:\/\/|undefined$)/) }); }); -- 1.7.10.4