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:
Scott Erickson 2016-06-02 10:59:33 -07:00
parent 3c2e3e37d4
commit 13ca4a6174

View file

@ -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)