Change reject! to reject to fix create user issue #2

Merged
merged 3 commits into from Jul 17, 2012

Projects

None yet

2 participants

@bradleybuda

If you set a password in users_create, the reject! call doesn't reject any parameters and therefore returns nil. Instead, use reject which returns just the retained parameters. Also added a spec for this and updated a dependency to fix a mocha issue on clean checkout.

@czarneckid czarneckid merged commit 2e1361a into czarneckid:master Jul 17, 2012
@czarneckid
Owner

Thanks again for the pull request. May the code be with you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment