diff options
author | Krekoten' Marjan <krekoten@intensol.com> | 2010-08-24 12:39:25 +0300 |
---|---|---|
committer | Santiago Pastorino <santiago@wyeworks.com> | 2010-08-24 09:38:20 -0300 |
commit | a0284791df3caed66e3cabb80a62680d69182ddb (patch) | |
tree | 28d254fb7f8b161f3de13b90f00255f9c2f2bdef /railties/test/generators/app_generator_test.rb | |
parent | 21b1f29720fa503071a12831162d975e48f2b5f9 (diff) | |
download | rails-a0284791df3caed66e3cabb80a62680d69182ddb.tar.gz rails-a0284791df3caed66e3cabb80a62680d69182ddb.tar.bz2 rails-a0284791df3caed66e3cabb80a62680d69182ddb.zip |
Fix test of generated Gemfile with mysql selected as DB driver
[#5435 state:committed]
Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
Diffstat (limited to 'railties/test/generators/app_generator_test.rb')
-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 849c8001f4..dcd7629505 100644 --- a/railties/test/generators/app_generator_test.rb +++ b/railties/test/generators/app_generator_test.rb @@ -144,7 +144,7 @@ class AppGeneratorTest < Rails::Generators::TestCase def test_config_another_database run_generator([destination_root, "-d", "mysql"]) assert_file "config/database.yml", /mysql/ - assert_file "Gemfile", /^gem\s+["']mysql["']$/ + assert_file "Gemfile", /^gem\s+["']mysql2["']$/ end def test_config_database_is_not_added_if_skip_active_record_is_given |