Fix for rake ci:travis:prepare task

Satisfy `rake db:create` wanting to create a development database.

Signed-off-by: Alex Coles <alex@alexbcoles.com>
pull/2123/head
Alex Coles 10 years ago
parent 266e69183d
commit 8633e82b8c
  1. 2
      lib/tasks/ci.rake

@ -69,7 +69,7 @@ namespace :ci do
}.merge(db_info) }.merge(db_info)
File.open("config/database.yml", 'w') do |f| File.open("config/database.yml", 'w') do |f|
YAML.dump({"test" => database_yml}, f) YAML.dump({"test" => database_yml, 'development' => database_yml}, f)
end end
# Create and migrate the database # Create and migrate the database

Loading…
Cancel
Save