Skip to content

Fix category query to look up on slug #627

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

Merged
merged 1 commit into from
Mar 14, 2017

Conversation

carols10cents
Copy link
Member

Also make the test catch this bug by having slug != category.

Sorry I didn't catch this when reviewing #609, but at least I caught it before I deployed it to production!!!!

Ultimately this is my fault for writing tests that had the same value for the category display name and slug, which isn't what the real data is like, so the tests passed for #609 :(

Also make the test catch this bug by having slug != category.
@carols10cents carols10cents requested a review from sgrif March 14, 2017 16:59
@alexcrichton alexcrichton merged commit 4bc09ee into rust-lang:master Mar 14, 2017
@carols10cents carols10cents deleted the fix-category-query branch March 14, 2017 17:24
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