mirror of
https://github.com/github/rails.git
synced 2026-04-26 03:00:59 -04:00
Fix test of generated Gemfile with mysql selected as DB driver
[#5435 state:committed] Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
This commit is contained in:
committed by
Santiago Pastorino
parent
21b1f29720
commit
a0284791df
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user