From a0284791df3caed66e3cabb80a62680d69182ddb Mon Sep 17 00:00:00 2001 From: Krekoten' Marjan Date: Tue, 24 Aug 2010 12:39:25 +0300 Subject: Fix test of generated Gemfile with mysql selected as DB driver [#5435 state:committed] Signed-off-by: Santiago Pastorino --- railties/test/generators/app_generator_test.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'railties/test') 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 -- cgit v1.2.3