Permalink
Browse files

test typo

  • Loading branch information...
1 parent ca145a6 commit 4513e59af016cd4be87a53f8c7abb56c2eac98a0 @amccollum amccollum committed Nov 6, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 tests/tests.html
View
@@ -541,11 +541,11 @@
fake = dom({
attributes: [ { name: 'data-node-uid', value: uid } ],
getAttribute: function () { return uid }
- })
+ }).data()
ok(data, 'stored data object is intact after removal')
ok(data.foo == 'bar', 'data object retains old values')
- ok(fake.foo === undefined, 'new data object is wiped clean')
+ ok(fake.nodeUid === 2 && fake.foo === undefined, 'new data object is wiped clean')
})
function testCreate(node) {

0 comments on commit 4513e59

Please sign in to comment.