42Zavattas/generator-bangular

View on GitHub
app/templates/client/directives(auth)/nav-bar/nav-bar.spec.js(karma)

Summary

Maintainability
Test Coverage
'use strict';

describe('Directive: nav-bar', function () {

  beforeEach(module('<%= appname %>', 'templates'));

  var element, scope;

  beforeEach(inject(function ($compile, $rootScope) {
    scope = $rootScope.$new();
    element = angular.element('<nav-bar></nav-bar>');
    element = $compile(element)(scope);
    scope.$apply();
  }));

  it('should ...', function () {
    expect(1).toBe(1);
  });
});