Skip to content

Instantly share code, notes, and snippets.

@myabc
Created March 5, 2009 14:43
Show Gist options
  • Save myabc/74366 to your computer and use it in GitHub Desktop.
Save myabc/74366 to your computer and use it in GitHub Desktop.
diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb
index 3044113..3dff333 100644
--- a/spec/spec_helper.rb
+++ b/spec/spec_helper.rb
@@ -27,7 +27,7 @@ PRIMARY = {
'yaml' => "yaml://#{temp_db_dir}/primary_yaml",
'sqlite3' => 'sqlite3::memory:',
# 'sqlite3_fs' => "sqlite3://#{temp_db_dir}/primary.db",
- 'mysql' => 'mysql://localhost/dm_core_test',
+ 'mysql' => 'mysql://root@localhost/dm_core_test',
'postgres' => 'postgres://postgres@localhost/dm_core_test'
}
@@ -36,7 +36,7 @@ ALTERNATE = {
'yaml' => "yaml://#{temp_db_dir}/secondary_yaml",
'sqlite3' => "sqlite3://#{temp_db_dir}/alternate.db", # use a FS for the
# 'sqlite3_fs' => "sqlite3://#{temp_db_dir}/alternate.db",
- 'mysql' => 'mysql://localhost/dm_core_test2',
+ 'mysql' => 'mysql://root@localhost/dm_core_test2',
'postgres' => 'postgres://postgres@localhost/dm_core_test2'
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment