Skip to content

Commit

Permalink
Fix test of generated Gemfile with mysql selected as DB driver
Browse files Browse the repository at this point in the history
[#5435 state:committed]

Signed-off-by: Santiago Pastorino <santiago@wyeworks.com>
  • Loading branch information
Krekoten' Marjan authored and spastorino committed Aug 24, 2010
1 parent 21b1f29 commit a028479
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion railties/test/generators/app_generator_test.rb
Expand Up @@ -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
Expand Down

0 comments on commit a028479

Please sign in to comment.