browsing_test.rb 370 B

123456789101112
  1. require 'test_helper'
  2. require 'rails/performance_test_help'
  3. class BrowsingTest < ActionDispatch::PerformanceTest
  4. # Refer to the documentation for all available options
  5. # self.profile_options = { :runs => 5, :metrics => [:wall_time, :memory]
  6. # :output => 'tmp/performance', :formats => [:flat] }
  7. def test_homepage
  8. get '/'
  9. end
  10. end