You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 12, 2021. It is now read-only.
When I run tests separately, by "rake spec:models" and "rake spec:controllers" they go well, but by running "rake spec" they crashes on user model test.
The text was updated successfully, but these errors were encountered:
I found a reason - User.stubs(:authenticate) for example in session controller test works even in user model test, so that test isn't working properly. I've switched config.mock_with to mocha and now it is ok :)
so maybe add some info, to switch to mocha when using nifty:authenticate? it take me quite a lot of time to find out that it was becouse of config.mock_with
This issue was closed.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I run tests separately, by "rake spec:models" and "rake spec:controllers" they go well, but by running "rake spec" they crashes on user model test.
The text was updated successfully, but these errors were encountered: