]> projects.mako.cc - selectricity/blob - test/functional/quickvote_controller_test.rb
Add several testcases for casting quickvotes with invalid information
[selectricity] / test / functional / quickvote_controller_test.rb
1 require File.dirname(__FILE__) + '/../test_helper'
2 require 'quickvote_controller'
3
4 # Re-raise errors caught by the controller.
5 class QuickvoteController; def rescue_action(e) raise e end; end
6
7 class QuickvoteControllerTest < Test::Unit::TestCase
8   def setup
9     @controller = QuickvoteController.new
10     @request    = ActionController::TestRequest.new
11     @response   = ActionController::TestResponse.new
12   end
13
14   # Replace this with your real tests.
15   def test_truth
16     assert true
17   end
18 end

Benjamin Mako Hill || Want to submit a patch?