Sha256: 7ae1a15d2c928f8a6fae5c82782434c958c17f59885b85648674ec8e7a4e209a

Contents?: true

Size: 381 Bytes

Versions: 2

Compression:

Stored size: 381 Bytes

Contents

require 'test_helper'
require 'rails/performance_test_help'

class <%= class_name %>Test < 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

Version data entries

2 entries across 2 versions & 2 rubygems

Version Path
minitest-rails-0.0.1 lib/generators/minitest/performance/templates/performance_test.rb
railties-3.1.0.rc1 lib/rails/generators/test_unit/performance/templates/performance_test.rb