mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
fix 2.1.0 bug :(
This commit is contained in:
parent
707be603cf
commit
d0926d3d5e
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue