]> projects.mako.cc - selectricity-live/blob - test/functional/graph_controller_test.rb
Put in a pie graph for Plurality votes. ALso slimmed down victories_and_ties method...
[selectricity-live] / test / functional / graph_controller_test.rb
1 require File.dirname(__FILE__) + '/../test_helper'
2 require 'graph_controller'
3
4 # Re-raise errors caught by the controller.
5 class GraphController; def rescue_action(e) raise e end; end
6
7 class GraphControllerTest < Test::Unit::TestCase
8
9   #fixtures :data
10
11   def setup
12     @controller = GraphController.new
13     @request    = ActionController::TestRequest.new
14     @response   = ActionController::TestResponse.new
15   end
16
17   # TODO Replace this with your actual tests
18   def test_show
19     assert true
20   end
21   
22 end

Benjamin Mako Hill || Want to submit a patch?