]> projects.mako.cc - selectricity-live/blob - test/functional/quickvote_controller_test.rb
f2b0c2c06c1ddff655fdd08e71c54e813df2472c
[selectricity-live] / 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_index
16     get :index
17     assert_response 302
18   end
19   def test_create_quickvote
20
21   end
22 end

Benjamin Mako Hill || Want to submit a patch?