diff options
| author | Matias Niemelä | 2013-05-07 10:29:29 -0400 |
|---|---|---|
| committer | Misko Hevery | 2013-05-08 15:40:37 -0700 |
| commit | 88c3480aff79e1ff5b1ed8bd7f1e05df8ea1e068 (patch) | |
| tree | 1eb4e66c454fdb802d080096209c111e8d22b733 /test/ng/directive/ngIncludeSpec.js | |
| parent | 0cb04e2e9171ca60d4779cb9e0b4fe73f0926ace (diff) | |
| download | angular.js-88c3480aff79e1ff5b1ed8bd7f1e05df8ea1e068.tar.bz2 | |
feat($sniffer): Add support for supportsAnimations flag for detecting CSS Animations browser support
Diffstat (limited to 'test/ng/directive/ngIncludeSpec.js')
| -rw-r--r-- | test/ng/directive/ngIncludeSpec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ng/directive/ngIncludeSpec.js b/test/ng/directive/ngIncludeSpec.js index 1ce55bb4..46507041 100644 --- a/test/ng/directive/ngIncludeSpec.js +++ b/test/ng/directive/ngIncludeSpec.js @@ -351,7 +351,7 @@ describe('ngInclude ngAnimate', function() { var child = jqLite(element.children()[0]); applyCSS(child, 'transition', '1s linear all'); - if ($sniffer.supportsTransitions) { + if ($sniffer.transitions) { expect(child.attr('class')).toContain('custom-enter-setup'); window.setTimeout.expect(1).process(); @@ -384,7 +384,7 @@ describe('ngInclude ngAnimate', function() { $rootScope.tpl = ''; $rootScope.$digest(); - if ($sniffer.supportsTransitions) { + if ($sniffer.transitions) { expect(child.attr('class')).toContain('custom-leave-setup'); window.setTimeout.expect(1).process(); @@ -417,7 +417,7 @@ describe('ngInclude ngAnimate', function() { $rootScope.tpl = 'enter'; $rootScope.$digest(); - if ($sniffer.supportsTransitions) { + if ($sniffer.transitions) { window.setTimeout.expect(1).process(); window.setTimeout.expect(500).process(); } else { |
