projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
don't run async.spec.js by default
[mkws-moved-to-github.git]
/
test
/
spec
/
mkws-config.js
diff --git
a/test/spec/mkws-config.js
b/test/spec/mkws-config.js
index
4cba621
..
980b262
100644
(file)
--- 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
*
*
* 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 () {
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$)/)
});
});
});
});