Major update of Selectricity to work with Rails 2.2.2 from 1.2!
[selectricity-live] / vendor / plugins / sparklines / generators / sparklines / templates / functional_test.rb
diff --git a/vendor/plugins/sparklines/generators/sparklines/templates/functional_test.rb b/vendor/plugins/sparklines/generators/sparklines/templates/functional_test.rb
deleted file mode 100644 (file)
index 7d58be4..0000000
+++ /dev/null
@@ -1,30 +0,0 @@
-require File.dirname(__FILE__) + '/../test_helper'
-require 'sparklines_controller'
-
-# Re-raise errors caught by the controller.
-class SparklinesController; def rescue_action(e) raise e end; end
-
-class SparklinesControllerTest < Test::Unit::TestCase
-
-  #fixtures :data
-
-  def setup
-    @controller = SparklinesController.new
-    @request    = ActionController::TestRequest.new
-    @response   = ActionController::TestResponse.new
-  end
-
-  def test_index
-    get :index, :results => "1,2,3,4,5", :type => 'bar', :line_color => 'black'
-    assert_response :success
-    assert_equal 'image/png', @response.headers['Content-Type']
-  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?