1
require 'abstract_unit'
3
# Provide some static controllers.
4
class BenchmarkedController < ActionController::Base
6
render :nothing => true
14
class BenchmarkTest < ActionController::TestCase
15
tests BenchmarkedController
18
def method_missing(*args)
23
# benchmark doesn't do anything unless a logger is set
24
@controller.logger = MockLogger.new
25
@request.host = "test.actioncontroller.i"
28
def test_with_http_1_0_request
30
assert_nothing_raised { get :public_action }