1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

update performance test template to use test method

This commit is contained in:
Francesco Rodriguez 2012-07-06 15:53:17 -05:00
parent 717aa92dd3
commit ae3fdac896
2 changed files with 2 additions and 2 deletions

View file

@ -6,7 +6,7 @@ class BrowsingTest < ActionDispatch::PerformanceTest
# self.profile_options = { runs: 5, metrics: [:wall_time, :memory], # self.profile_options = { runs: 5, metrics: [:wall_time, :memory],
# output: 'tmp/performance', formats: [:flat] } # output: 'tmp/performance', formats: [:flat] }
def test_homepage test "homepage" do
get '/' get '/'
end end
end end

View file

@ -6,7 +6,7 @@ class <%= class_name %>Test < ActionDispatch::PerformanceTest
# self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory], # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory],
# :output => 'tmp/performance', :formats => [:flat] } # :output => 'tmp/performance', :formats => [:flat] }
def test_homepage test "homepage" do
get '/' get '/'
end end
end end