ember-data-github
ember-data-github copied to clipboard
DRY up auth testing
Currently we have a lot of repeated code in acceptance tests confirm the auth token is sent with requests. This seems like the wrong level to be testing this as the acceptances are really just confirming that injecting the token into the adapter works which could be tested at a lower level once?
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
Agreed, seems better to just test the inject in a single place
The injection is tested at the adapter level here, I wonder if it matters at all to also test in acceptance tests?
Probably not.