Require jquery in spec helper. MOJ Templates gem includes query 1.11.0 at time of writing this but isn’t served under the jasmine specs path.
Replace Jasmine Rails with Teaspoon for handling specs. 
 - This change downgrades Jasmine JS from 2.0.2 to 1.3.1
Update return value on spies to match with Jasmine 1.3.1
It should empty the node and not remove it from the DOM so the modal can reattach again if another timeout occurs.