Skip to content

Instantly share code, notes, and snippets.

@dragthor
Created September 28, 2015 20:02
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save dragthor/5b96e1878d8b26ac94a7 to your computer and use it in GitHub Desktop.
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