Class: BrowsingTest
- Inherits:
-
ActionDispatch::PerformanceTest
- Object
- ActionDispatch::PerformanceTest
- BrowsingTest
- Defined in:
- lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb
Instance Method Summary collapse
-
#test_homepage ⇒ Object
Refer to the documentation for all available options self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory] :output => ‘tmp/performance’, :formats => [:flat] }.
Instance Method Details
#test_homepage ⇒ Object
Refer to the documentation for all available options self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
:output => 'tmp/performance', :formats => [:flat] }
9 10 11 |
# File 'lib/rails/generators/rails/app/templates/test/performance/browsing_test.rb', line 9 def test_homepage get '/' end |