fix 2.1.0 bug :(

This commit is contained in:
schneems 2013-12-25 18:27:09 -05:00
parent 707be603cf
commit d0926d3d5e
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ module ApplicationTests
# ensure it's using the DATABASE_URL
FileUtils.rm_rf("#{app_path}/config/database.yml")
File.open("#{app_path}/config/database.yml", 'w') do |f|
f << {ENV['RAILS_ENV'] => '<%= ENV["RAILS_DATABASE_URL"] %>'}.to_yaml
f << {ENV['RAILS_ENV'] => %Q{<%= ENV['RAILS_DATABASE_URL'] %>}}.to_yaml
end
end