阅读背景:

为什么这个rspec请求规范没有更新模型?

来源:互联网 

I have a requests spec for interactions with the User model. I want to make sure that Users with the Admin role can create/edit/destroy Users. I'm having a problem right now where the Edit action does not update the user. Everything works properly when I manually go through the actions on the site itself, but the tests fail to update the user.I have a requests spec for interactions with th




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

分享到: