mirror of
https://github.com/ionic-team/ionic-framework.git
synced 2025-11-07 06:57:02 +08:00
Angular tests running, content scoping
This commit is contained in:
@ -12,4 +12,9 @@ describe('Ionic Content directive', function() {
|
||||
element = compile('<content></content>')(scope);
|
||||
expect(element.hasClass('content')).toBe(true);
|
||||
});
|
||||
|
||||
it('Has header', function() {
|
||||
element = compile('<content has-header="true"></content>')(scope);
|
||||
expect(element.hasClass('has-header')).toEqual(true);
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user