mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2026-03-13 10:22:08 +08:00
test(ionCheckbox): update test for new template
This commit is contained in:
@@ -18,7 +18,7 @@ describe('Ionic Checkbox', function() {
|
||||
el = compile('<ion-checkbox>INNER TEXT</ion-checkbox>')(scope);
|
||||
expect(el.hasClass('item')).toEqual(true);
|
||||
expect(el.hasClass('item-checkbox')).toEqual(true);
|
||||
var label = el.find('label');
|
||||
var label = el.find('div');
|
||||
expect(label.hasClass('checkbox')).toEqual(true);
|
||||
var input = el.find('input');
|
||||
expect(input.attr('type')).toEqual('checkbox');
|
||||
|
||||
Reference in New Issue
Block a user