feedbackTpl = readFixtures('system-feedback.underscore') beforeEach -> # remove this when we upgrade jasmine-jquery @addMatchers toContainText: (text) -> trimmedText = $.trim(@actual.text()) if text and $.isFunction(text.test) return text.test(trimmedText) else return trimmedText.indexOf(text) != -1; describe "CMS.Views.ShowTextbook", -> tpl = readFixtures('show-textbook.underscore') beforeEach -> setFixtures($("