Skip to content

Instantly share code, notes, and snippets.

@bonyiii
Created December 12, 2010 21:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save bonyiii/738337 to your computer and use it in GitHub Desktop.
Save bonyiii/738337 to your computer and use it in GitHub Desktop.
fadeout test with jasmine
describe("Flash Message", function(){
/**
* Testing fade out with jasmine
* @param {Object} 'flash.html'
*/
it("check flash message fade out", function(){
loadFixtures('flash.html');
waits(2500);
runs(function(){
expect($('#flash_message').css('display')).toBe('none');
})
});
})
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment