feat(popup): cssClass option

This commit is contained in:
Adam Bradley
2014-12-12 22:12:04 -06:00
parent a096b0a19c
commit 916ff63d46
2 changed files with 7 additions and 7 deletions

View File

@@ -55,7 +55,7 @@ describe('$ionicPopup service', function() {
it('should set the specified custom CSS class to popup container', function() {
var popup = TestUtil.unwrapPromise($ionicPopup._createPopup({
template: 'Hello, friend!',
class: 'mycustomclass'
cssClass: 'mycustomclass'
}));
expect(popup.element.hasClass('mycustomclass')).toBe(true);
});