mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 08:50:58 -05:00
Fixed client side testing on karma/travis with the new FacebookHandler tests.
This commit is contained in:
parent
08dde3623c
commit
4ecbc73c1c
2 changed files with 6 additions and 0 deletions
|
@ -107,6 +107,7 @@ module.exports = TestView = class TestView extends CocoView
|
|||
# TODO Stubbify more things
|
||||
# * document.location
|
||||
# * firebase
|
||||
# * all the services that load in main.html
|
||||
|
||||
afterEach ->
|
||||
# TODO Clean up more things
|
||||
|
|
|
@ -48,6 +48,11 @@ mockMe =
|
|||
start_date: "2008-06-01"
|
||||
}
|
||||
]
|
||||
|
||||
window.FB ?= {
|
||||
api: ->
|
||||
}
|
||||
|
||||
describe 'lib/FacebookHandler.coffee', ->
|
||||
it 'on facebook-logged-in, gets data from FB and sends a patch to the server', ->
|
||||
me.clear({silent:true})
|
||||
|
|
Loading…
Reference in a new issue