require File.dirname(__FILE__) + '/../test_helper' require 'edit_template_controller' # Re-raise errors caught by the controller. class EditTemplateController; def rescue_action(e) raise e end; end class EditTemplateControllerTest < Test::Unit::TestCase def setup @controller = EditTemplateController.new @request = ActionController::TestRequest.new @response = ActionController::TestResponse.new end # Replace this with your real tests. def test_truth get :test assert_response :success assert_template 'index' assert true assert !assigns(:leo) end end