CodeGrade / bottlenose

CS assignment / grade mangement system
GNU Affero General Public License v3.0
37 stars 21 forks source link

Use for Grading: Method for Whole Team & Method for Single User (Team or Otherwise) #221

Closed williams-jack closed 2 years ago

williams-jack commented 2 years ago

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).

williams-jack commented 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.