]> projects.mako.cc - selectricity/blob - test/functional/site_controller_test.rb
Created a user "summary/profile page". Also corected several minor typos on election...
[selectricity] / test / functional / site_controller_test.rb
1 require File.dirname(__FILE__) + '/../test_helper'
2 require 'site_controller'
3
4 # Re-raise errors caught by the controller.
5 class SiteController; def rescue_action(e) raise e end; end
6
7 class SiteControllerTest < Test::Unit::TestCase
8   def setup
9     @controller = SiteController.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 :success
18   end
19 end

Benjamin Mako Hill || Want to submit a patch?