aboutsummaryrefslogtreecommitdiffstats
path: root/guides/code/getting_started/test/performance/browsing_test.rb
blob: 9342a57b2070f976bf70a4a7a2f54d88087ba716 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
require 'test_helper'
require 'rails/performance_test_help'

class BrowsingTest < ActionDispatch::PerformanceTest
  # Refer to the documentation for all available options
  # self.profile_options = { runs: 5, metrics: [:wall_time, :memory],
  #                          output: 'tmp/performance', formats: [:flat] }

  def test_homepage
    get '/'
  end
end