aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/performance_test_generator_test.rb
blob: 8fda83b36f7f29f3152e7aa3b3fb0a4c7fc4b025 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
require 'generators/generators_test_helper'
require 'rails/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