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

Merge pull request #6991 from frodsan/performance_test_generator

update performance test template to use test method
This commit is contained in:
Rafael Mendonça França 2012-07-24 10:40:23 -07:00
commit 66b859bd9e
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],
# output: 'tmp/performance', formats: [:flat] }
def test_homepage
test "homepage" do
get '/'
end
end

View file

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