阅读背景:

Rails gem在执行“rake测试”时使用开发db而不是测试db

来源:互联网 

I'm using a gem with my rails 3 project, "rails-settings-cached", and when I'm in development mode the gem can access the database without any problem. However, when I run "rake test", a lot of tests fails because "rails-settings-cached" keeps using the development db instead of the testing one.I'm using a gem with my rails 3 project, "rails




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: