You'll need to tell the path helper which cohort you're trying to edit `edit_cohort_path(cohort)`. Same with the other parts of the test.