diff options
author | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-09 13:36:54 -0200 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-10-09 13:36:54 -0200 |
commit | 6286629acab6361ab7046e3ec61157c3b4dbca93 (patch) | |
tree | a9aec3d5bb51bdec3fd9e4187c543fb94522868f /railties/test | |
parent | 36862511e065d5ea02dae9d2dcb7f498af99cab1 (diff) | |
download | rails-6286629acab6361ab7046e3ec61157c3b4dbca93.tar.gz rails-6286629acab6361ab7046e3ec61157c3b4dbca93.tar.bz2 rails-6286629acab6361ab7046e3ec61157c3b4dbca93.zip |
This test is not only testing config/database stuff anymore
Diffstat (limited to 'railties/test')
-rw-r--r-- | railties/test/generators/app_generator_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/railties/test/generators/app_generator_test.rb b/railties/test/generators/app_generator_test.rb index d752d18285..51277b805b 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -165,7 +165,7 @@ class AppGeneratorTest < Rails::Generators::TestCase assert_file "Gemfile", /^gem\s+["']mysql2["']$/ end - def test_config_database_is_not_added_if_skip_active_record_is_given + def test_generator_if_skip_active_record_is_given run_generator [destination_root, "--skip-active-record"] assert_no_file "config/database.yml" assert_file "test/test_helper.rb" do |helper_content| |