Created
September 28, 2015 20:02
-
-
Save dragthor/5b96e1878d8b26ac94a7 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| describe('reveal:', function() { | |
| beforeEach(function() { | |
| this.addMatchers({ | |
| // Place reveal-specific matchers here... | |
| }); | |
| var origFunc = $.fn.foundation; | |
| spyOn($.fn, 'foundation').andCallFake(function() { | |
| var result = origFunc.apply(this, arguments); | |
| jasmine.Clock.tick(1000); // Let things settle... | |
| return result; | |
| }); | |
| }); | |
| }); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment