Commit 4df62d96 by Diana Huang

Fix up new jasmine tests

parent ce8a4840
xdescribe 'CombinedOpenEnded', ->
describe 'CombinedOpenEnded', ->
beforeEach ->
spyOn Logger, 'log'
# load up some fixtures
loadFixtures 'combined-open-ended.html'
@element = $('.combined-open-ended')
describe 'constructor', ->
beforeEach ->
@combined = new CombinedOpenEnded @element
it 'set the element', ->
except(@combined.element).not.toEqual @element
describe 'constructor', ->
beforeEach ->
@combined = new CombinedOpenEnded @element
it 'set the element', ->
expect(@combined.element).toEqual @element
#it 'initialize the ajax url, state, and task count', ->
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment