]> projects.mako.cc - selectricity-live/blobdiff - test/functional/graphs_controller_test.rb
Fix a host of testcase failure issues. Still not done, but this is the end of syntact...
[selectricity-live] / test / functional / graphs_controller_test.rb
diff --git a/test/functional/graphs_controller_test.rb b/test/functional/graphs_controller_test.rb
deleted file mode 100644 (file)
index 8e206d3..0000000
+++ /dev/null
@@ -1,24 +0,0 @@
-require File.dirname(__FILE__) + '/../test_helper'
-require 'graphs_controller'
-
-# Re-raise errors caught by the controller.
-class GraphsController; def rescue_action(e) raise e end; end
-
-class GraphsControllerTest < Test::Unit::TestCase
-
-  #fixtures :data
-
-  def setup
-    @controller = GraphsController.new
-    @request    = ActionController::TestRequest.new
-    @response   = ActionController::TestResponse.new
-  end
-
-  # TODO Replace this with your actual tests
-  def test_show
-    get :show
-    assert_response :success
-    assert_equal 'image/png', @response.headers['Content-Type']
-  end
-  
-end

Benjamin Mako Hill || Want to submit a patch?