aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/directive/ngIfSpec.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/ng/directive/ngIfSpec.js')
-rwxr-xr-xtest/ng/directive/ngIfSpec.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/test/ng/directive/ngIfSpec.js b/test/ng/directive/ngIfSpec.js
index 3fa523a7..5726e092 100755
--- a/test/ng/directive/ngIfSpec.js
+++ b/test/ng/directive/ngIfSpec.js
@@ -121,16 +121,16 @@ describe('ngIf ngAnimate', function () {
var first = element.children()[0];
if ($sniffer.transitions) {
- expect(first.className).toContain('custom-enter-setup');
+ expect(first.className).toContain('custom-enter');
window.setTimeout.expect(1).process();
- expect(first.className).toContain('custom-enter-start');
+ expect(first.className).toContain('custom-enter-active');
window.setTimeout.expect(1000).process();
} else {
expect(window.setTimeout.queue).toEqual([]);
}
- expect(first.className).not.toContain('custom-enter-setup');
- expect(first.className).not.toContain('custom-enter-start');
+ expect(first.className).not.toContain('custom-enter');
+ expect(first.className).not.toContain('custom-enter-active');
}));
it('should fire off the leave animation + add and remove the css classes',
@@ -158,9 +158,9 @@ describe('ngIf ngAnimate', function () {
expect(element.children().length).toBe($sniffer.transitions ? 1 : 0);
if ($sniffer.transitions) {
- expect(first.className).toContain('custom-leave-setup');
+ expect(first.className).toContain('custom-leave');
window.setTimeout.expect(1).process();
- expect(first.className).toContain('custom-leave-start');
+ expect(first.className).toContain('custom-leave-active');
window.setTimeout.expect(1000).process();
} else {
expect(window.setTimeout.queue).toEqual([]);