aboutsummaryrefslogtreecommitdiffstats
path: root/railties/helpers/performance_test.rb
blob: d39f639305d9ead4a7804a4d5e973ad568a55ecd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
ENV['RAILS_ENV'] ||= 'test'
require "#{File.dirname(__FILE__)}/../../config/environment"
require 'test/unit'
require 'action_controller/performance_test'

# Profiling results for each test method are written to tmp/performance.
class BrowsingTest < ActionController::PerformanceTest
  def test_homepage
    get '/'
  end
end