commit | c4ae83038dee43eb1ceb0cc25e80f5cd65c2a93e | [log] [tgz] |
---|---|---|
author | Simon Hunt <simon@onlab.us> | Mon Jan 26 14:22:48 2015 -0800 |
committer | Simon Hunt <simon@onlab.us> | Mon Jan 26 14:22:48 2015 -0800 |
tree | 4648542d4dfecd49daab56141b6040800d02295c | |
parent | 54442fac5f24f1b52d4e30139310fbabf8a64bc7 [diff] |
GUI -- Fixed broken table-spec unit tests. Change-Id: I3b4d777a3f514759a2b19e442ad320280f46e5b4
diff --git a/web/gui/src/main/webapp/tests/app/fw/widget/table-spec.js b/web/gui/src/main/webapp/tests/app/fw/widget/table-spec.js index 688897c..1e853c0 100644 --- a/web/gui/src/main/webapp/tests/app/fw/widget/table-spec.js +++ b/web/gui/src/main/webapp/tests/app/fw/widget/table-spec.js
@@ -72,8 +72,14 @@ 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(); });