diff options
Diffstat (limited to 'test/ng')
| -rw-r--r-- | test/ng/animatorSpec.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ng/animatorSpec.js b/test/ng/animatorSpec.js index d8ceffab..07bcb36c 100644 --- a/test/ng/animatorSpec.js +++ b/test/ng/animatorSpec.js @@ -50,7 +50,7 @@ describe("$animator", function() { element.css('display','none'); expect(element.css('display')).toBe('none'); animator.show(element); - expect(element.css('display')).toBe('block'); + expect(element[0].style.display).toBe(''); })); it("should animate the hide animation event", inject(function($animator, $compile, $rootScope) { @@ -125,9 +125,9 @@ describe("$animator", function() { element.css('display','none'); expect(element.css('display')).toBe('none'); animator.show(element); - expect(element.css('display')).toBe('block'); + expect(element[0].style.display).toBe(''); window.setTimeout.expect(1).process(); - expect(element.css('display')).toBe('block'); + expect(element[0].style.display).toBe(''); })); it("should animate the hide animation event", inject(function($animator, $rootScope) { |
