From 0930d9dfe7fe63dcf21a9773823372ba8c222ad6 Mon Sep 17 00:00:00 2001 From: Matias Niemelä Date: Mon, 13 May 2013 18:12:25 -0400 Subject: chore($sniffer): replace remaining supportsTransitions/supportsAnimations flags inside tests --- test/ng/animatorSpec.js | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/test/ng/animatorSpec.js b/test/ng/animatorSpec.js index d8d56022..39e37560 100644 --- a/test/ng/animatorSpec.js +++ b/test/ng/animatorSpec.js @@ -323,7 +323,7 @@ describe("$animator", function() { expect(element.css('display')).toBe('none'); animator.show(element); - if ($sniffer.supportsAnimations) { + if ($sniffer.animations) { window.setTimeout.expect(1).process(); window.setTimeout.expect(4000).process(); } @@ -345,7 +345,7 @@ describe("$animator", function() { expect(element.css('display')).toBe('none'); animator.show(element); - if ($sniffer.supportsAnimations) { + if ($sniffer.animations) { window.setTimeout.expect(1).process(); window.setTimeout.expect(6000).process(); } @@ -367,7 +367,7 @@ describe("$animator", function() { expect(element.css('display')).toBe('none'); animator.show(element); - if ($sniffer.supportsAnimations) { + if ($sniffer.animations) { window.setTimeout.expect(1).process(); window.setTimeout.expect(2000).process(); } @@ -391,7 +391,7 @@ describe("$animator", function() { expect(element.css('display')).toBe('none'); animator.show(element); - if ($sniffer.supportsTransitions) { + if ($sniffer.transitions) { window.setTimeout.expect(1).process(); window.setTimeout.expect(20000).process(); } @@ -435,7 +435,7 @@ describe("$animator", function() { expect(element.css('display')).toBe('none'); animator.show(element); - if ($sniffer.supportsTransitions) { + if ($sniffer.transitions) { window.setTimeout.expect(1).process(); window.setTimeout.expect(1000).process(); } @@ -451,7 +451,7 @@ describe("$animator", function() { }); element.css('display','none'); animator.show(element); - if ($sniffer.supportsTransitions) { + if ($sniffer.transitions) { window.setTimeout.expect(1).process(); window.setTimeout.expect(2000).process(); } -- cgit v1.2.3