describe 'Courseware', -> describe 'start', -> it 'create the navigation', -> spyOn(window, 'Navigation') Courseware.start() expect(window.Navigation).toHaveBeenCalled() it 'binds the Logger', -> spyOn(Logger, 'bind') Courseware.start() expect(Logger.bind).toHaveBeenCalled() describe 'render', -> beforeEach -> jasmine.stubRequests() @courseware = new Courseware spyOn(window, 'Histogram') spyOn(window, 'Problem') spyOn(window, 'Video') spyOn(XBlock, 'initializeBlocks') setFixtures """