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

                                                                
                           


                                               
                                                                                                                   
     
   
require 'generators/generators_test_helper'
require 'rails/generators/rails/integration_test/integration_test_generator'

class IntegrationTestGeneratorTest < Rails::Generators::TestCase
  include GeneratorsTestHelper
  arguments %w(integration)

  def test_integration_test_skeleton_is_created
    run_generator
    assert_file "test/integration/integration_test.rb", /class IntegrationTest < ActionController::IntegrationTest/
  end
end