mirror of
https://github.com/codeninjasllc/codecombat.git
synced 2025-02-17 00:40:56 -05:00
Finesse RequestQuoteView load waiting
Trying to get those tests to pass consistently on Travis.
This commit is contained in:
parent
e968afc8ec
commit
954780d19f
1 changed files with 2 additions and 2 deletions
|
@ -48,7 +48,7 @@ describe 'RequestQuoteView', ->
|
|||
}
|
||||
}])
|
||||
})
|
||||
_.defer done # Let SuperModel finish
|
||||
view.supermodel.once('loaded-all', done)
|
||||
|
||||
it 'shows request received', ->
|
||||
expect(view.$('#request-form').hasClass('hide')).toBe(true)
|
||||
|
@ -220,7 +220,7 @@ describe 'RequestQuoteView', ->
|
|||
}
|
||||
}])
|
||||
})
|
||||
_.defer done # Let SuperModel finish
|
||||
view.supermodel.once('loaded-all', done)
|
||||
|
||||
it 'shows form with data from the most recent request', ->
|
||||
expect(view.$('input[name="firstName"]').val()).toBe('First')
|
||||
|
|
Loading…
Reference in a new issue