diff options
author | Piotr Sarnacki <drogus@gmail.com> | 2010-11-02 14:05:11 +0100 |
---|---|---|
committer | Piotr Sarnacki <drogus@gmail.com> | 2010-11-02 17:14:52 +0100 |
commit | 57fae9b2c7d193ec16baf38a8797588fb466db49 (patch) | |
tree | c62c82f8c5687e8cc88a8e491ba8b4f321184366 /railties/test | |
parent | 4d108cb33d818949e7682076ad662c99168093e4 (diff) | |
download | rails-57fae9b2c7d193ec16baf38a8797588fb466db49.tar.gz rails-57fae9b2c7d193ec16baf38a8797588fb466db49.tar.bz2 rails-57fae9b2c7d193ec16baf38a8797588fb466db49.zip |
Use rails integration tests by default in 'plugin new' generator
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/plugin_new_generator_test.rb | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/railties/test/generators/plugin_new_generator_test.rb b/railties/test/generators/plugin_new_generator_test.rb index 985ef088e5..aebd954215 100644 --- a/railties/test/generators/plugin_new_generator_test.rb +++ b/railties/test/generators/plugin_new_generator_test.rb @@ -46,11 +46,9 @@ class PluginNewGeneratorTest < Rails::Generators::TestCase def test_generating_test_files_in_full_mode run_generator [destination_root, "--full"] - assert_directory "test/support/" assert_directory "test/integration/" - assert_file "test/integration/navigation_test.rb", /assert_kind_of Dummy::Application, Rails.application/ - assert_file "test/support/integration_case.rb", /class ActiveSupport::IntegrationCase/ + assert_file "test/integration/navigation_test.rb", /ActionDispatch::IntegrationTest/ end def test_ensure_that_plugin_options_are_not_passed_to_app_generator |