2014-10-21 15:13:18 +08:00
|
|
|
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
|