mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 00:40:56 -05:00
Fix intermittent CreateAccountModal error
AuthModal spec was loading the G+ API during tests, which caused G+ to get unhappy when CreateAccountModal mocked it.
This commit is contained in:
parent
3c2e3e37d4
commit
13ca4a6174
1 changed files with 3 additions and 1 deletions
|
@ -6,6 +6,8 @@ describe 'AuthModal', ->
|
|||
modal = null
|
||||
|
||||
beforeEach ->
|
||||
application.facebookHandler.fakeAPI()
|
||||
application.gplusHandler.fakeAPI()
|
||||
modal = new AuthModal()
|
||||
modal.render()
|
||||
|
||||
|
@ -20,4 +22,4 @@ describe 'AuthModal', ->
|
|||
expect(args[0] instanceof RecoverModal).toBeTruthy()
|
||||
|
||||
it '(demo)', ->
|
||||
jasmine.demoModal(modal)
|
||||
jasmine.demoModal(modal)
|
||||
|
|
Loading…
Reference in a new issue