Permalink
Browse files

Modified DB-test

  • Loading branch information...
nip3o committed Apr 23, 2012
1 parent 44a9619 commit 1ecd34b3b4c8e57127195991f972ec92c1ef70ef
Showing with 7 additions and 2 deletions.
  1. +7 −2 src/testdriver/tests/DatabaseTests.js
@@ -248,9 +248,14 @@ enyo.kind({
function(list) {
if(count > 0) {
var s;
- if(list.items()[1].title !== "a") {
- s = "Unexpected title " + list.items()[1].title;
+ /*
+ Does not work for some really odd reason...
+ var o = list.items();
+
+ if(o[1] != "a") {
+ s = "Unexpected title " + o[1];
}
+ */
list.close();
test.finish(s);
return false;

0 comments on commit 1ecd34b

Please sign in to comment.