提交 44298c39 编写于 作者: T Terence Lee

test DATABASE_URL without database.yml around

上级 4bdaf95b
......@@ -21,6 +21,8 @@ def database_url_db_name
def set_database_url
ENV['DATABASE_URL'] = "sqlite3://:@localhost/#{database_url_db_name}"
# ensure it's using the DATABASE_URL
FileUtils.rm_rf("#{app_path}/config/database.yml")
end
def expected
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册