2009-06-26 03:11:37 -04:00
|
|
|
require 'generators/generators_test_helper'
|
2010-01-18 07:44:32 -05:00
|
|
|
require 'generators/rails/integration_test/integration_test_generator'
|
2009-06-26 03:11:37 -04:00
|
|
|
|
2010-01-18 18:07:11 -05:00
|
|
|
class IntegrationTestGeneratorTest < Rails::Generators::TestCase
|
|
|
|
include GeneratorsTestHelper
|
2010-01-03 10:34:32 -05:00
|
|
|
arguments %w(integration)
|
2009-06-26 03:11:37 -04:00
|
|
|
|
|
|
|
def test_integration_test_skeleton_is_created
|
|
|
|
run_generator
|
2009-06-26 03:53:53 -04:00
|
|
|
assert_file "test/integration/integration_test.rb", /class IntegrationTest < ActionController::IntegrationTest/
|
2009-06-26 03:11:37 -04:00
|
|
|
end
|
|
|
|
end
|