21 lines
497 B
Ruby
21 lines
497 B
Ruby
require File.dirname(__FILE__) + '/../test_helper'
|
|
require 'pages_controller'
|
|
|
|
# Re-raise errors caught by the controller.
|
|
class PagesController; def rescue_action(e) raise e end; end
|
|
|
|
class PagesControllerTest < Test::Unit::TestCase
|
|
fixtures :pages
|
|
|
|
def setup
|
|
@controller = PagesController.new
|
|
@request = ActionController::TestRequest.new
|
|
@response = ActionController::TestResponse.new
|
|
end
|
|
|
|
# Replace this with your real tests.
|
|
def test_truth
|
|
assert true
|
|
end
|
|
end
|