mirror of
https://github.com/github/rails.git
synced 2026-04-04 03:00:58 -04:00
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@263 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
18 lines
501 B
Ruby
18 lines
501 B
Ruby
require File.dirname(__FILE__) + '/../test_helper'
|
|
require '<%= file_name %>_controller'
|
|
|
|
# Re-raise errors caught by the controller.
|
|
class <%= full_class_name %>; def rescue_action(e) raise e end; end
|
|
|
|
class <%= full_class_name %>Test < Test::Unit::TestCase
|
|
def setup
|
|
@controller = <%= full_class_name %>.new
|
|
@request, @response = ActionController::TestRequest.new, ActionController::TestResponse.new
|
|
end
|
|
|
|
# Replace this with your real tests.
|
|
def test_truth
|
|
assert true
|
|
end
|
|
end
|