测试 Rspec 各种无法运行,求帮托

xguox · March 02, 2012 · Last by xguox replied at March 02, 2012 · 3679 hits

_

database configuration does not specify adapter (ActiveRecord::AdapterNotSpecified)

兄弟,你的数据库 database.yaml 还没有设好呢,就急着测试了

database.yml 里没有配置 test

不好意思,刚开始学习写测试,还有就是错误提示没好好看。问了个比较 2 的问题。

You need to Sign in before reply, if you don't have an account, please Sign up first.