WING-NUS / SSID

Student Submission Integrity Diagnosis
18 stars 23 forks source link

Add RSpec tests for POST /api/v1/courses/{course_id}/assignment/ #346

Closed sibinhho99 closed 1 year ago

sibinhho99 commented 1 year ago

Add RSpec automated tests for the API route POST /api/v1/courses/{course_id}/assignment/

Description

Related Issue

https://github.com/WING-NUS/SSID/issues/324

Motivation and Context

Part of https://github.com/WING-NUS/SSID/issues/324

How Has This Been Tested?

Local run

Screenshots (if appropriate):

image

Types of changes

Checklist:

sibinhho99 commented 1 year ago

Need to investigate why this fails (https://github.com/WING-NUS/SSID/actions/runs/6367710089/job/17286506081?pr=346). Delete cascade should be enabled, and it's working locally for me

image

Updates: