Skip to content

Commit 77869b3

Browse files
author
James Strate
committed
removed appending pulldown from pulldown tests
1 parent 889824d commit 77869b3

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

test/pulldown.js

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,6 @@ $(document).ready(function() {
5454
altLabelContent: 'name'
5555
}).render();
5656

57-
$('body').append(pulldown.el);
58-
5957
$(pulldown.el).find('input').click();
6058
$(pulldown._menu.el).find('li a').eq(1).click();
6159

@@ -89,11 +87,11 @@ $(document).ready(function() {
8987
emptyItem: true
9088
}).render();
9189

92-
$('body').append(pulldown.el);
93-
90+
//select emptyItem
9491
$(pulldown.el).find('input').click();
9592
$(pulldown._menu.el).find('li a').eq(0).click();
9693

94+
//check if selection is empty
9795
equal(coffee.get('region'),null);
9896

9997
});

0 commit comments

Comments
 (0)