0

I am trying to create some functional tests around my controllers but when I attempt to create the test db I get the error described in my thread. This is the first time I have attempted to populate a test db. I am using the default sqlite adapter. I have populated my fixtures with some test values. Can someone tell me what this error means?

Thanks!

4

1 回答 1

0

显然我需要指定要使用的环境。这个命令成功了:rake db:test:load RAILS_ENV="test"

于 2012-07-24T04:02:05.580 回答