阅读背景:

使用Devise的可确认模块进行测试(RSpec)

来源:互联网 

It's my understanding that Rails' testing environment is torn down and rebuilt before each test...so how do I test a controller that requires that a user be logged in and that user can't be created without Device's confirmable module getting in the way?It's my understanding that Rails' testing envir




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

分享到: