Created
December 12, 2010 21:16
-
-
Save bonyiii/738337 to your computer and use it in GitHub Desktop.
fadeout test with jasmine
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("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