提交 66b859bd 编写于 作者: R Rafael Mendonça França

Merge pull request #6991 from frodsan/performance_test_generator

update performance test template to use test method
......@@ -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
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册