projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4eeb75e
)
config.pazpar2_url can be undefined, part of MKWS-253
author
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 10 Sep 2014 10:39:50 +0000
(10:39 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 10 Sep 2014 10:39:50 +0000
(10:39 +0000)
test/spec/mkws-config.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-config.js
b/test/spec/mkws-config.js
index
4cba621
..
b6852a9
100644
(file)
--- 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$)/)
});
});