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:
efa00a1
)
add a prefix for jasmine console log messages
author
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 7 Mar 2014 10:25:49 +0000
(10:25 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Fri, 7 Mar 2014 10:25:49 +0000
(10:25 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
12677a8
..
733f7a4
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-6,7
+6,7
@@
// get references from mkws.js, lazy evaluation
var debug = function (text) {
// get references from mkws.js, lazy evaluation
var debug = function (text) {
- mkws.debug(text)
+ mkws.debug("Jasmine: " + text)
}
// Define empty mkws_config for simple applications that don't define it.
}
// Define empty mkws_config for simple applications that don't define it.
@@
-87,13
+87,13
@@
describe("Check MOTD before search", function () {
expect($("#testMOTD").length).toBe(1);
expect($("#testMOTD").text()).toMatch("^ *$");
});
expect($("#testMOTD").length).toBe(1);
expect($("#testMOTD").text()).toMatch("^ *$");
});
-
+
it("mkwsMOTDContainer has received the text", function () {
expect($(".mkwsMOTDContainer").length).toBe(1);
expect($(".mkwsMOTDContainer").text()).toMatch(/MOTD/);
});
it("mkwsMOTDContainer has received the text", function () {
expect($(".mkwsMOTDContainer").length).toBe(1);
expect($(".mkwsMOTDContainer").text()).toMatch(/MOTD/);
});
-
+
});
describe("Check pazpar2 search", function () {
});
describe("Check pazpar2 search", function () {