GUI -- Fixed broken table-spec unit tests.

Change-Id: I3b4d777a3f514759a2b19e442ad320280f46e5b4
This commit is contained in:
Simon Hunt 2015-01-26 14:22:48 -08:00
parent 54442fac5f
commit c4ae83038d

View File

@ -72,8 +72,14 @@ describe('factory: fw/widget/table.js', function() {
beforeEach(inject(function (TableService, _$log_) {
ts = TableService;
$log = _$log_;
d3Elem = d3.select('body').append('div').attr('id', 'myDiv');
}));
afterEach(function () {
d3.select('#myDiv').remove();
});
it('should define TableService', function () {
expect(ts).toBeDefined();
});