Fix the m2m_changed when accessed reversed

This commit is contained in:
Wayne Witzel III
2016-03-11 15:59:01 -05:00
parent 45483fb057
commit 16673b1468
2 changed files with 7 additions and 3 deletions

View File

@@ -69,7 +69,7 @@ def test_cant_delete_role(delete, admin):
# Some day we might want to do this, but until that is speced out, lets
# ensure we don't slip up and allow this implicitly through some helper or
# another
response = delete(reverse('api:role_detail', args=(admin.resource.admin_role.id,)), admin)
response = delete(reverse('api:role_detail', args=(admin.admin_role.id,)), admin)
assert response.status_code == 405