Fix most warnings in tests; add support for loading (non-auto) tests to phantom-drive...
[dygraphs.git] / auto_tests / tests / error_bars.js
index 0d8b3ba..c9e3a38 100644 (file)
@@ -21,7 +21,7 @@ errorBarsTestCase.prototype.tearDown = function() {
   Dygraph.getContext = _origFunc;
 };
 
-errorBarsTestCase.prototype.testNameGoesHere = function() {
+errorBarsTestCase.prototype.testErrorBarsDrawn = function() {
   var opts = {
     width: 480,
     height: 320,
@@ -86,5 +86,6 @@ errorBarsTestCase.prototype.testNameGoesHere = function() {
     xy2 = g.toDomCoords(data[i + 1][0], data[i + 1][1][1]);
     CanvasAssertions.assertLineDrawn(htx, xy1, xy2, attrs);
   }
+  CanvasAssertions.assertBalancedSaveRestore(htx);
 };