spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee in kiteditor-1.0.11 vs spec/javascripts/mercury/modals/insertcharacter_spec.js.coffee in kiteditor-1.0.12

- old
+ new

@@ -1,11 +1,10 @@ describe "Mercury.modalHandlers.insertCharacter", -> - template 'mercury/modals/insertcharacter.html' - beforeEach -> + fixture.load('mercury/modals/insertcharacter.html') @modal = - element: $('#test') + element: $(fixture.el) hide: -> @modalHideSpy = spyOn(@modal, 'hide').andCallFake(=>) Mercury.modalHandlers.insertCharacter.call(@modal) describe "clicking on a character", ->