Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

adding another failing test

add a failing test.
TODO: split tests
  • Loading branch information...
commit b5b63dbbbb5ee1363ec53775d0734b2c30643ba6 1 parent b6d6523
authored August 20, 2012

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  Specs/1.4client/Element/Element.js
6  Specs/1.4client/Element/Element.js
@@ -22,17 +22,19 @@ describe('Element', function(){
22 22
 
23 23
 			expect($$('input[id=Q1]').length).toEqual(0);
24 24
 			expect($$('input#Q1').length).toEqual(0);
  25
+			expect($$('input[id=Q1]').length).toEqual(0); //<- element.erase will fail on this :(
25 26
 			clone.dispose();
26 27
 
27 28
 			var ul = new Element('ul',{id:'test'});
28  
-			ul.set('html', '<li id="li1"></li><li id="li2"></li>'));
  29
+			ul.set('html', '<li id="li1"></li><li id="li2"></li>');
29 30
 			ul.inject(document.documentElement);
30 31
 
31 32
 			var ulc = ul.clone();
32 33
 			ulc.replaces(ul);
33 34
 
34  
-			expect($$('li#li1').length).toEqual(1);
  35
+			expect($$('li#li1').length).toEqual(0);
35 36
 
  37
+			ulc.destroy();
36 38
 
37 39
 		});
38 40
 

0 notes on commit b5b63db

Please sign in to comment.
Something went wrong with that request. Please try again.