code-corps / code-corps-api

Elixir/Phoenix API for Code Corps.
https://www.codecorps.org
MIT License
234 stars 86 forks source link

Validate new routes against usernames #1304

Closed joshsmith closed 6 years ago

joshsmith commented 6 years ago

Problem

We have some new resources/routes that have been added to our client and conflict with possible usernames. We should add these to the slug validator.

joshsmith commented 6 years ago

Can we write a test against the slug validator that fetches all the root routes? And run the validator against that?