Fix a host of testcase failure issues. Still not done, but this is the end of syntact...
[selectricity-live] / test / functional / graph_controller_test.rb
diff --git a/test/functional/graph_controller_test.rb b/test/functional/graph_controller_test.rb
new file mode 100644 (file)
index 0000000..4594335
--- /dev/null
@@ -0,0 +1,22 @@
+require File.dirname(__FILE__) + '/../test_helper'
+require 'graph_controller'
+
+# Re-raise errors caught by the controller.
+class GraphController; def rescue_action(e) raise e end; end
+
+class GraphControllerTest < Test::Unit::TestCase
+
+  #fixtures :data
+
+  def setup
+    @controller = GraphController.new
+    @request    = ActionController::TestRequest.new
+    @response   = ActionController::TestResponse.new
+  end
+
+  # TODO Replace this with your actual tests
+  def test_show
+    assert true
+  end
+  
+end

Benjamin Mako Hill || Want to submit a patch?