aboutsummaryrefslogtreecommitdiffstats
path: root/railties/test/generators/performance_test_generator_test.rb
blob: 099575ea1d1878d6cccb35151837f5f0687b368b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
require 'generators/generators_test_helper'
require 'rails/generators/rails/performance_test/performance_test_generator'

class PerformanceTestGeneratorTest < GeneratorsTestCase
  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