Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Cover empty parameters edge case in Recoverable behavior #147

Merged
merged 3 commits into from
Dec 13, 2016

Conversation

danguita
Copy link
Contributor

@danguita danguita commented Dec 13, 2016

Unplanned.

What does this PR do?

Similar to #144, this PR is enhancing the User Recoverable behavior by covering an edge case in which the User can pass a empty reset_password_token parameter.

Due to this module nature, it can be applied to both User and GobiertoAdmin::Admin resources.

It is also refactoring the current fixtures to be more specific about that behavior.

How should this be manually tested?

Just check that a Password reset URL with empty or missing reset_password_token parameter doesn't match any Users:

@ferblape
Copy link
Member

👍

@ferblape ferblape merged commit 78973cb into master Dec 13, 2016
@ferblape ferblape deleted the unplanned-enhance-recoverable-behavior branch December 13, 2016 09:52
@danguita
Copy link
Contributor Author

Thanks! 🙌

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants