Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix test of generated Gemfile with mysql selected as DB driver

[#5435 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information...
commit a0284791df3caed66e3cabb80a62680d69182ddb 1 parent 21b1f29
Krekoten' Marjan authored spastorino committed
Showing with 1 addition and 1 deletion.
  1. +1 −1  railties/test/generators/app_generator_test.rb
View
2  railties/test/generators/app_generator_test.rb
@@ -144,7 +144,7 @@ def test_config_database_is_added_by_default
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
Please sign in to comment.
Something went wrong with that request. Please try again.