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 (from parent 1:
6fd5d9a
)
pazpar2 checks
author
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 20 Aug 2013 15:51:57 +0000
(17:51 +0200)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Tue, 20 Aug 2013 15:51:57 +0000
(17:51 +0200)
test/spec/mkws-config.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-config.js
b/test/spec/mkws-config.js
index
80a3b43
..
478a4a1
100644
(file)
--- a/
test/spec/mkws-config.js
+++ b/
test/spec/mkws-config.js
@@
-20,24
+20,21
@@
describe("Check mkws_config object", function() {
it("mkws_config service proxy enabled", function() {
expect(mkws_config.use_service_proxy).toBe(true);
});
it("mkws_config service proxy enabled", function() {
expect(mkws_config.use_service_proxy).toBe(true);
});
+
});
});
-/*
-describe("Check service proxy URL", function() {
- var timerCallback;
- beforeEach(function() {
- timerCallback = jasmine.createSpy('timerCallback');
- jasmine.Clock.useMock();
+describe("Check pazpar2 config", function() {
+ it("pazpar2path is a path or an full URL", function() {
+ expect(pazpar2path).toMatch(/^(\/|http:\/\/)/)
});
});
- it("causes an interval to be called synchronously", function() {
- setTimeout(function() {
- timerCallback();
- }, 500);
+ it("usesessions false", function() {
+ expect(usesessions).toBe(false);
+ });
- jasmine.Clock.tick(1501);
- expect(mkws_config.service_proxy_url).toMatch(/service-proxy/);
+ it("my_paz is defined", function() {
+ expect(my_paz).not.toBe(undefined);
});
});
});
});
-*/
\ No newline at end of file
+