Files
dss.web/client/app/directives/waveform/waveform.directive.spec.js
Fergal Moran d2c529bafe Screw you git!
2015-12-01 19:50:20 +00:00

21 lines
574 B
JavaScript
Executable File

'use strict';
describe('Directive: waveform', function () {
// load the directive's module and view
beforeEach(module('dsswebApp'));
beforeEach(module('app/directives/waveform/waveform.html'));
var element, scope;
beforeEach(inject(function ($rootScope) {
scope = $rootScope.$new();
}));
it('should make hidden element visible', inject(function ($compile) {
element = angular.element('<waveform></waveform>');
element = $compile(element)(scope);
scope.$apply();
expect(element.text()).toBe('this is the waveform directive');
}));
});