aboutsummaryrefslogblamecommitdiffstats
path: root/railties/test/generators/performance_test_generator_test.rb
blob: c95063a1272d1a11f324bbd432783818b537c4ad (plain) (tree)
1
2
3
4
5
6
7
8
9
                                           
                                                                      
 

                                                                
                           


                                               
                                                                                                                   
     
   
require 'generators/generators_test_helper'
require 'generators/rails/performance_test/performance_test_generator'

class PerformanceTestGeneratorTest < Rails::Generators::TestCase
  include GeneratorsTestHelper
  arguments %w(performance)

  def test_performance_test_skeleton_is_created
    run_generator
    assert_file "test/performance/performance_test.rb", /class PerformanceTest < ActionController::PerformanceTest/
  end
end