]> projects.mako.cc - selectricity-live/blob - test/functional/front_controller_test.rb
referenced mailing list and gitorious
[selectricity-live] / test / functional / front_controller_test.rb
1 require File.dirname(__FILE__) + '/../test_helper'
2 require 'front_controller'
3
4 # Re-raise errors caught by the controller.
5 class FrontController; def rescue_action(e) raise e end; end
6
7 class FrontControllerTest < Test::Unit::TestCase
8   def setup
9     @controller = FrontController.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?