Fixed jasmine-ajax setup/reset.

This commit is contained in:
Scott Erickson 2014-06-06 17:08:49 -07:00
parent 63a3aa9074
commit 2cbc33d66d

View file

@ -99,8 +99,9 @@ module.exports = class TestView extends CocoView
runTests: ->
describe 'CodeCombat Client', =>
jasmine.Ajax.install()
beforeEach ->
jasmine.Ajax.install()
jasmine.Ajax.requests.reset()
# TODO get some setup and teardown prepped
require f for f in @specFiles # runs the tests