Closed williams-jack closed 2 years ago
Integration tests now use User model instead of ids. Also added two controller tests for sanity.
Notice those assert a response of redirect -- this is correct behavior, as we redirect upon success. To still ensure functionality is working, I simply added assertions about the existence of UsedSubs before and after the POSTs.
Implementation is finished and all current test cases passing. Just need to add one for two members of the same using two different submissions (both associated with the team).