aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/generators/test_unit/performance/templates/performance_test.rb
blob: 2f25dcf832e44a7f15c218b4cff499ccf4d3a21a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
require 'test_helper'
require 'rails/performance_test_help'

class <%= class_name %>Test < ActionDispatch::PerformanceTest
  # Refer to the documentation for all available options
  # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory],
  #                          :output => 'tmp/performance', :formats => [:flat] }

  test "homepage" do
    get '/'
  end
end