mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 15:07:13 +08:00
Trying with firefox instead of phantom
This commit is contained in:
@ -139,7 +139,7 @@ describe('Tab Item directive', function() {
|
||||
'<tab title="Item" icon="icon-default"></tab>' +
|
||||
'</tabs>')(scope);
|
||||
scope.$digest();
|
||||
$document.body.append(element);
|
||||
$document[0].body.appendChild(element[0]);
|
||||
}));
|
||||
|
||||
it('Default text works', function() {
|
||||
@ -156,7 +156,7 @@ describe('Tab Item directive', function() {
|
||||
|
||||
it('Click sets correct tab index', function() {
|
||||
var a = element.find('a:eq(0)');
|
||||
var itemScope = a.scope();
|
||||
var itemScope = a.isolateScope();
|
||||
//spyOn(a, 'click');
|
||||
spyOn(itemScope, 'selectTab');
|
||||
a.click();
|
||||
|
||||
Reference in New Issue
Block a user