For now, use jsnlog-DEV.js
[mkws-moved-to-github.git] / test / spec / mkws-config.js
index 4cba621..980b262 100644 (file)
@@ -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
  *
@@ -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$)/)
     });
 });