Skip to content

Instantly share code, notes, and snippets.

@squeejee
Created May 18, 2009 02:51
Show Gist options
  • Save squeejee/113282 to your computer and use it in GitHub Desktop.
Save squeejee/113282 to your computer and use it in GitHub Desktop.
namespace :test do
task :move_test_db_config do
require 'ftools'
File.move(RAILS_ROOT+"/config/database.yml.test", RAILS_ROOT+"/config/database.yml")
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment