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:
commit
66b859bd9e
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue