old_contents: /**
   * An example specification for the example module
   * Loads the module and runs the test suite
   */
  define(['modules/<%= name %>'], function (module) {
    'use strict';
  
    // Test suite INIT
    describe('INIT', function () {
  
      it('is available', function () {
        expect(module).not.toBe(null);
      });
  
      it('has getter for event name', function () {
        expect(module.getEventName()).toBe('_test');
      });
  
      it('fires event on init', function () {
        var eventCalled;
  
        $(document).on(module.getEventName(), function () {
          eventCalled = true;
        });
  
        module.init();
  
        expect(eventCalled).toBeTruthy();
      });
    });
  });
  
new_contents: /**
   * An example specification for the example module
   * Loads the module and runs the test suite
   */
  define(['modules/<%= name %>'], function (<%= name %>) {
    'use strict';
  
    // Test suite INIT
    describe('INIT', function () {
  
      it('is available', function () {
        expect(module).not.toBe(null);
      });
  
      it('has getter for event name', function () {
        expect(module.getEventName()).toBe('_test');
      });
  
      it('fires event on init', function () {
        var eventCalled;
  
        $(document).on(module.getEventName(), function () {
          eventCalled = true;
        });
  
        module.init();
  
        expect(eventCalled).toBeTruthy();
      });
    });
  });
  
subject: Use the generated module's name as argument in test-spec define callback.