lib/generators/multiverse/db_generator.rb in multiverse-0.0.3 vs lib/generators/multiverse/db_generator.rb in multiverse-0.1.0
- old
+ new
@@ -17,10 +17,10 @@
development_conf = "database: db/#{lower_name}_development.sqlite3"
test_conf = "database: db/#{lower_name}_test.sqlite3"
production_conf = "database: db/#{lower_name}_production.sqlite3"
else
development_conf = "database: #{lower_name}_development"
- test_conf = "database: #{lower_name}_development"
+ test_conf = "database: #{lower_name}_test"
production_conf = "url: <%= ENV['#{lower_name.upcase}_DATABASE_URL'] %>"
end
append_to_file "config/database.yml" do
"