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:
7f22fb4
)
compare only the first 3 elements in records details (title, date, author)
author
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 28 Jan 2015 14:44:14 +0000
(14:44 +0000)
committer
Wolfram Schneider
<wosch@indexdata.dk>
Wed, 28 Jan 2015 14:44:14 +0000
(14:44 +0000)
test/spec/mkws-pazpar2.js
patch
|
blob
|
history
diff --git
a/test/spec/mkws-pazpar2.js
b/test/spec/mkws-pazpar2.js
index
02502e0
..
e9aa610
100644
(file)
--- a/
test/spec/mkws-pazpar2.js
+++ b/
test/spec/mkws-pazpar2.js
@@
-851,8
+851,11
@@
describe("Check translations", function () {
});
it("record details", function () {
+ var text = ["Title", "Date", "Author"]; // , "Subject", "Locations"];
var list = $("div.mkws-details table > tbody > tr > th");
- var text = ["Title", "Date", "Author", "Subject", "Locations"];
+
+ // compare only the first 3 elements
+ list = list.splice(0, text.length)
check_translation(list, text);
});