Skip to content

Db dump#311

Open
PriyaGandhi311 wants to merge 10 commits into
mainfrom
db_dump
Open

Db dump#311
PriyaGandhi311 wants to merge 10 commits into
mainfrom
db_dump

Conversation

@PriyaGandhi311

Copy link
Copy Markdown
Collaborator

Updated the migration script to create missing columns and moved from native .sql to schema migration format

@github-actions

github-actions Bot commented Mar 25, 2026

Copy link
Copy Markdown
4 Warnings
⚠️ Pull request is too big (more than 500 LoC).
⚠️ Pull request touches too many files (more than 30 files).
⚠️ Schema changes detected without a corresponding DB migration.
⚠️ RSpec tests seem shallow (single it blocks or no context). Consider improving test structure.

Generated by 🚫 Danger

@github-actions

Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/assignment_spec.rb:18 # Assignment#num_review_rounds counts review due dates to determine the number of rounds
rspec ./spec/models/assignment_spec.rb:30 # Assignment#num_review_rounds ignores non-review deadlines when counting rounds
rspec ./spec/models/assignment_team_spec.rb:77 # AssignmentTeam validations is not valid without an assignment
rspec ./spec/models/assignment_team_spec.rb:83 # AssignmentTeam validations validates type must be AssignmentTeam
rspec ./spec/models/course_spec.rb:13 # Course validations validates presence of name
rspec ./spec/models/course_spec.rb:17 # Course validations validates presence of directory_path
rspec ./spec/models/course_spec.rb:24 # Course#path when there is no associated instructor an error is raised
rspec ./spec/models/course_spec.rb:30 # Course#path when there is an associated instructor returns a directory
rspec ./spec/models/course_team_spec.rb:83 # CourseTeam validations validates type must be CourseTeam
rspec ./spec/models/criterion_spec.rb:25 # Criterion#complete returns JSON without answer and no dropdown or scale specified
rspec ./spec/models/criterion_spec.rb:33 # Criterion#complete returns JSON with a dropdown, including answer options
rspec ./spec/models/dropdown_spec.rb:8 # Dropdown#edit when given a count returns a JSON object with the edit form for a item
rspec ./spec/models/due_date_spec.rb:13 # DueDate.fetch_due_dates fetches all the due_dates from a due_date's parent
rspec ./spec/models/due_date_spec.rb:33 # DueDate.sort_due_dates sorts a list of due dates from earliest to latest
rspec ./spec/models/due_date_spec.rb:52 # DueDate.any_future_due_dates? returns true when a future due date exists
rspec ./spec/models/due_date_spec.rb:63 # DueDate.any_future_due_dates? returns true when a no future due dates exist
rspec ./spec/models/due_date_spec.rb:78 # DueDate.set returns true when a future due date exists
rspec ./spec/models/due_date_spec.rb:96 # DueDate.copy copies the due dates from one assignment to another
rspec ./spec/models/due_date_spec.rb:135 # DueDate.next_due_date when parent_type is Assignment returns the next upcoming due date
rspec ./spec/models/due_date_spec.rb:168 # DueDate.next_due_date when parent_type is ProjectTopic calls TopicDueDate.next_due_date
rspec ./spec/models/due_date_spec.rb:174 # DueDate.next_due_date when parent_type is ProjectTopic returns the next upcoming due date for topics
rspec ./spec/models/due_date_spec.rb:179 # DueDate.next_due_date when parent_type is ProjectTopic returns the next assignment due date when topic has no upcoming due dates
rspec ./spec/models/due_date_spec.rb:190 # DueDate validation is invalid without a parent
rspec ./spec/models/due_date_spec.rb:196 # DueDate validation is invalid without a due_at
rspec ./spec/models/due_date_spec.rb:202 # DueDate validation is valid with required fields
rspec ./spec/models/multiple_choice_checkbox_spec.rb:9 # MultipleChoiceCheckbox#edit returns the JSON structure for editing
rspec ./spec/models/multiple_choice_radio_spec.rb:20 # MultipleChoiceRadio#edit when editing a quiz item returns JSON for the item edit form
rspec ./spec/models/multiple_choice_radio_spec.rb:38 # MultipleChoiceRadio#complete when given a valid item id returns JSON for a quiz item with choices
rspec ./spec/models/multiple_choice_radio_spec.rb:57 # MultipleChoiceRadio#view_completed_item when user answer is correct includes correctness in the response
rspec ./spec/models/multiple_choice_radio_spec.rb:74 # MultipleChoiceRadio#isvalid when choice_info is valid returns valid status
rspec ./spec/models/multiple_choice_radio_spec.rb:86 # MultipleChoiceRadio#isvalid when choice_info has empty text for an option returns an error message
rspec ./spec/models/questionnaire_spec.rb:120 # Questionnaire.copy_questionnaire_details creates a copy of the questionnaire
rspec ./spec/models/questionnaire_spec.rb:132 # Questionnaire.copy_questionnaire_details creates a copy of all questions belonging to the original questionnaire
rspec ./spec/models/response_spec.rb:25 # Response#reportable_difference? when count is 0 returns false
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true
rspec ./spec/models/response_spec.rb:50 # Response#aggregate_questionnaire_score computes the total score of a review
rspec ./spec/models/response_spec.rb:58 # Response#average_score when maximum_score returns 0 returns N/A
rspec ./spec/models/response_spec.rb:65 # Response#average_score when maximum_score does not return 0 calculates the maximum score
rspec ./spec/models/response_spec.rb:83 # Response#maximum_score when answers are present and scorable returns weight * max_question_score
rspec ./spec/models/response_spec.rb:92 # Response#maximum_score when answer is nil does not count that answer
rspec ./spec/models/response_spec.rb:100 # Response#maximum_score when there are no scores returns 0
rspec ./spec/models/scale_spec.rb:22 # Scale#edit returns a JSON object with item text, type, weight, and score range
rspec ./spec/models/ta_mapping_spec.rb:18 # TaMapping Teaching Assistant access creates the TA mapping

Failing Controller Test Cases:
rspec ./spec/requests/api/v1/account_requests_spec.rb:32 # Account Requests API /account_requests/pending get List Pending Account Requests returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:51 # Account Requests API /account_requests/processed get List Processed Account Requests returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:82 # Account Requests API /account_requests post Attempt to Create an Account Request with valid parameters returns a 201 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:99 # Account Requests API /account_requests post Attempt to Create an Account Request with missing parameters returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:113 # Account Requests API /account_requests post Attempt to Create an Account Request with invalid parameters returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:130 # Account Requests API /account_requests post Attempt to Create an Account Request whose username already exists in Users table returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:151 # Account Requests API /account_requests post Create an Account Request whose email already exists in Users table returns a 201 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:185 # Account Requests API /account_requests /account_requests/{id} get Retrieve a specific account request with valid id returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:209 # Account Requests API /account_requests /account_requests/{id} patch Approve account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:225 # Account Requests API /account_requests /account_requests/{id} patch Attempt to Approve account request but user with same name already exists returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:247 # Account Requests API /account_requests /account_requests/{id} patch Reject account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:263 # Account Requests API /account_requests /account_requests/{id} patch Attempt to send Invalid status in Patch returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:291 # Account Requests API /account_requests /account_requests/{id} put Approve account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:307 # Account Requests API /account_requests /account_requests/{id} put Attempt to Approve account request but user with same username already exists returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:329 # Account Requests API /account_requests /account_requests/{id} put Attempt to Approve account request but user with same email already exists returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:351 # Account Requests API /account_requests /account_requests/{id} put Reject account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:367 # Account Requests API /account_requests /account_requests/{id} put Attempt to send Invalid status in PUT returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:386 # Account Requests API /account_requests /account_requests/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:75 # Assignments API /assignments get assignment successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:99 # Assignments API /assignments/{assignment_id}/add_participant/{user_id} post participant added successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:110 # Assignments API /assignments/{assignment_id}/add_participant/{user_id} post assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:135 # Assignments API /assignments/{assignment_id}/remove_participant/{user_id} delete participant removed successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:148 # Assignments API /assignments/{assignment_id}/remove_participant/{user_id} delete assignment or user not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:173 # Assignments API /assignments/{assignment_id}/assign_course/{course_id} patch course_id assigned successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:184 # Assignments API /assignments/{assignment_id}/assign_course/{course_id} patch assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:206 # Assignments API /assignments/{assignment_id}/remove_assignment_from_course patch assignment removed from course returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:217 # Assignments API /assignments/{assignment_id}/remove_assignment_from_course patch assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:243 # Assignments API /assignments/{assignment_id}/copy_assignment post assignment copied successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:253 # Assignments API /assignments/{assignment_id}/copy_assignment post assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:276 # Assignments API /assignments/{id} delete successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:285 # Assignments API /assignments/{id} delete Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:309 # Assignments API /assignments/{assignment_id}/has_topics get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:317 # Assignments API /assignments/{assignment_id}/has_topics get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:341 # Assignments API /assignments/{assignment_id}/team_assignment get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:349 # Assignments API /assignments/{assignment_id}/team_assignment get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:374 # Assignments API /assignments/{assignment_id}/valid_num_review/{review_type} get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:383 # Assignments API /assignments/{assignment_id}/valid_num_review/{review_type} get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:408 # Assignments API /assignments/{assignment_id}/has_teams get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:416 # Assignments API /assignments/{assignment_id}/has_teams get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:440 # Assignments API /assignments/{id}/show_assignment_details get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:456 # Assignments API /assignments/{id}/show_assignment_details get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:57 # bookmarks /bookmarks get successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:98 # bookmarks /bookmarks post created returns a 201 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:109 # bookmarks /bookmarks post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:147 # bookmarks /bookmarks/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:154 # bookmarks /bookmarks/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:175 # bookmarks /bookmarks/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:187 # bookmarks /bookmarks/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:204 # bookmarks /bookmarks/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:211 # bookmarks /bookmarks/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:249 # bookmarks /bookmarks/{id}/bookmarkratings post successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:261 # bookmarks /bookmarks/{id}/bookmarkratings get successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:270 # bookmarks /bookmarks/{id}/bookmarkratings get not found returns a 404 response
rspec ./spec/requests/api/v1/courses_spec.rb:49 # courses /courses/{id}/add_ta/{ta_id} get successful returns a 201 response
rspec ./spec/requests/api/v1/courses_spec.rb:87 # courses /courses/{id}/tas get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:126 # courses /courses/{id}/remove_ta/{ta_id} get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:153 # courses /courses/{id}/copy get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:170 # courses /courses get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:197 # courses /courses post successful returns a 201 response
rspec ./spec/requests/api/v1/courses_spec.rb:226 # courses /courses/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:259 # courses /courses/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:292 # courses /courses/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:313 # courses /courses/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:79 # Grades API /grades/{assignment_id}/view_all_scores get Returns all scores for assignment returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:89 # Grades API /grades/{assignment_id}/view_all_scores get Returns participant scores when participant_id provided returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:99 # Grades API /grades/{assignment_id}/view_all_scores get Returns team scores when team_id provided returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:109 # Grades API /grades/{assignment_id}/view_all_scores get Forbidden - Student cannot access returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:118 # Grades API /grades/{assignment_id}/view_all_scores get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:138 # Grades API /grades/{assignment_id}/view_our_scores get Returns team scores returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:149 # Grades API /grades/{assignment_id}/view_our_scores get Assignment Participant not found returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:158 # Grades API /grades/{assignment_id}/view_our_scores get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:178 # Grades API /grades/{assignment_id}/view_my_scores get Returns participant scores returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:193 # Grades API /grades/{assignment_id}/view_my_scores get Participant not found returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:202 # Grades API /grades/{assignment_id}/view_my_scores get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:222 # Grades API /grades/{participant_id}/edit get Returns participant, assignment, items, and scores returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:236 # Grades API /grades/{participant_id}/edit get Participant not found returns a 404 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:244 # Grades API /grades/{participant_id}/edit get Forbidden - Student cannot access returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:253 # Grades API /grades/{participant_id}/edit get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:281 # Grades API /grades/{participant_id}/assign_grade patch Team grade and comment assigned successfully returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:295 # Grades API /grades/{participant_id}/assign_grade patch Failed to assign team grade or comment returns a 422 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:308 # Grades API /grades/{participant_id}/assign_grade patch Participant not found returns a 404 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:317 # Grades API /grades/{participant_id}/assign_grade patch Forbidden - Student cannot access returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:327 # Grades API /grades/{participant_id}/assign_grade patch Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:348 # Grades API /grades/{participant_id}/instructor_review get Returns mapping and redirect information for new review returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:360 # Grades API /grades/{participant_id}/instructor_review get Returns mapping and redirect information for existing review returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:380 # Grades API /grades/{participant_id}/instructor_review get Participant not found returns a 404 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:388 # Grades API /grades/{participant_id}/instructor_review get Forbidden - Student cannot access returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:397 # Grades API /grades/{participant_id}/instructor_review get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:414 # Grades API Teaching Assistant access creates the TA mapping
rspec ./spec/requests/api/v1/grades_controller_spec.rb:418 # Grades API Teaching Assistant access allows TA to access view_all_scores
rspec ./spec/requests/api/v1/grades_controller_spec.rb:423 # Grades API Teaching Assistant access denies TA from accessing instructor_review
rspec ./spec/requests/api/v1/grades_controller_spec.rb:428 # Grades API Teaching Assistant access denies TA from assigning grades
rspec ./spec/requests/api/v1/institution_spec.rb:26 # Institutions API /institutions get successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:50 # Institutions API /institutions post Created a institution returns a 201 response
rspec ./spec/requests/api/v1/institution_spec.rb:63 # Institutions API /institutions post invalid request returns a 422 response
rspec ./spec/requests/api/v1/institution_spec.rb:86 # Institutions API /institutions/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:110 # Institutions API /institutions/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:124 # Institutions API /institutions/{id} put invalid request returns a 422 response
rspec ./spec/requests/api/v1/institution_spec.rb:151 # Institutions API /institutions/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:165 # Institutions API /institutions/{id} patch invalid request returns a 422 response
rspec ./spec/requests/api/v1/institution_spec.rb:184 # Institutions API /institutions/{id} delete successful returns a 200 response
rspec ./spec/requests/api/v1/invitation_controller_spec.rb:132 # Invitations API /invitations post Create successful returns a 201 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:105 # Participants API /participants/assignment/{assignment_id} get Returns participants returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:56 # questionnaires /questionnaires get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:102 # questionnaires /questionnaires post created returns a 201 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:113 # questionnaires /questionnaires post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:151 # questionnaires /questionnaires/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:158 # questionnaires /questionnaires/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:179 # questionnaires /questionnaires/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:191 # questionnaires /questionnaires/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:204 # questionnaires /questionnaires/{id} put unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:230 # questionnaires /questionnaires/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:242 # questionnaires /questionnaires/{id} patch not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:255 # questionnaires /questionnaires/{id} patch unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:272 # questionnaires /questionnaires/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:279 # questionnaires /questionnaires/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:317 # questionnaires /questionnaires/toggle_access/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:324 # questionnaires /questionnaires/toggle_access/{id} get not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:375 # questionnaires /questionnaires/copy/{id} post successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:383 # questionnaires /questionnaires/copy/{id} post not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:63 # questions /questions get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:119 # questions /questions post created returns a 201 response
rspec ./spec/requests/api/v1/questions_spec.rb:127 # questions /questions post questionnaire id not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:136 # questions /questions post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:187 # questions /questions/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:194 # questions /questions/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:216 # questions /questions/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:228 # questions /questions/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:241 # questions /questions/{id} put unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:270 # questions /questions/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:282 # questions /questions/{id} patch not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:295 # questions /questions/{id} patch unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:315 # questions /questions/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/questions_spec.rb:322 # questions /questions/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:384 # questions /questions/delete_all/questionnaire/{id} delete successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:391 # questions /questions/delete_all/questionnaire/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:478 # questions /questions/show_all/questionnaire/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:486 # questions /questions/show_all/questionnaire/{id} get not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:537 # questions /questions/types get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:30 # Roles API /roles get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:56 # Roles API /roles post Created a role returns a 201 response
rspec ./spec/requests/api/v1/roles_spec.rb:69 # Roles API /roles post invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:95 # Roles API /roles/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:121 # Roles API /roles/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:133 # Roles API /roles/{id} patch invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:161 # Roles API /roles/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:173 # Roles API /roles/{id} put invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:192 # Roles API /roles/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/student_tasks_controller_spec.rb:49 # StudentTasks API /student_tasks/list get authorized request has proper JSON schema returns a 200 response
rspec ./spec/requests/api/v1/student_tasks_controller_spec.rb:110 # StudentTasks API /student_tasks/view get successful retrieval of a student task returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:137 # Submitted Content API /submitted_content get successful returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:180 # Submitted Content API /submitted_content post created returns a 201 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:209 # Submitted Content API /submitted_content post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:232 # Submitted Content API /submitted_content/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:281 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with valid submission returns success
rspec ./spec/requests/api/v1/submitted_content_spec.rb:296 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with blank submission returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:316 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with duplicate hyperlink returns conflict
rspec ./spec/requests/api/v1/submitted_content_spec.rb:337 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with invalid URL returns bad request with error
rspec ./spec/requests/api/v1/submitted_content_spec.rb:399 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with valid hyperlink index returns no content
rspec ./spec/requests/api/v1/submitted_content_spec.rb:416 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with invalid hyperlink index returns not found
rspec ./spec/requests/api/v1/submitted_content_spec.rb:437 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with removal error returns internal server error
rspec ./spec/requests/api/v1/submitted_content_spec.rb:459 # Submitted Content API /submitted_content/remove_hyperlink delete removed returns a 204 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:504 # Submitted Content API /submitted_content/submit_file POST behaves like file submission without file returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:533 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with oversized file returns bad request for size limit
rspec ./spec/requests/api/v1/submitted_content_spec.rb:560 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with invalid extension returns bad request for invalid extension
rspec ./spec/requests/api/v1/submitted_content_spec.rb:594 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with valid file returns success
rspec ./spec/requests/api/v1/submitted_content_spec.rb:634 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with zip file and unzip flag unzips the file when requested
rspec ./spec/requests/api/v1/submitted_content_spec.rb:661 # Submitted Content API /submitted_content/submit_file post file submitted returns a 201 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:713 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions without action specified returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:733 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with delete action calls delete_selected_files
rspec ./spec/requests/api/v1/submitted_content_spec.rb:752 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with rename action calls rename_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:771 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with move action calls move_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:790 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with copy action calls copy_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:809 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with create action calls create_new_folder
rspec ./spec/requests/api/v1/submitted_content_spec.rb:832 # Submitted Content API /submitted_content/folder_action post folder action returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:867 # Submitted Content API /submitted_content/download get folder name is nil returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:878 # Submitted Content API /submitted_content/download get file name is nil returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:889 # Submitted Content API /submitted_content/download get cannot send whole folder returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:904 # Submitted Content API /submitted_content/download get file does not exist returns a 404 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:951 # Submitted Content API /submitted_content/list_files get directory listed returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:962 # Submitted Content API /submitted_content/list_files get not a directory returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:994 # Submitted Content API Error handling when team not found returns not found for submit_hyperlink
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1019 # Submitted Content API SubmittedContent happy paths lists submission records
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1025 # Submitted Content API SubmittedContent happy paths shows a submission record
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1031 # Submitted Content API SubmittedContent happy paths submits a hyperlink (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1038 # Submitted Content API SubmittedContent happy paths removes a hyperlink (DELETE)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1046 # Submitted Content API SubmittedContent happy paths submits a file (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1063 # Submitted Content API SubmittedContent happy paths performs a folder action (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1071 # Submitted Content API SubmittedContent happy paths downloads a file (GET)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1084 # Submitted Content API SubmittedContent happy paths lists files (GET)
rspec ./spec/requests/api/v1/teams_controller_spec.rb:130 # TeamsController GET /teams returns all teams
rspec ./spec/requests/api/v1/teams_controller_spec.rb:140 # TeamsController GET /teams/:id returns a specific team
rspec ./spec/requests/api/v1/teams_controller_spec.rb:146 # TeamsController GET /teams/:id returns 404 for non-existent team
rspec ./spec/requests/api/v1/teams_controller_spec.rb:153 # TeamsController POST /teams returns error for invalid params
rspec ./spec/requests/api/v1/teams_controller_spec.rb:162 # TeamsController Team Members GET /teams/:id/members returns all team members
rspec ./spec/requests/api/v1/teams_controller_spec.rb:183 # TeamsController Team Members POST /teams/:id/members adds a new team member
rspec ./spec/requests/api/v1/teams_controller_spec.rb:191 # TeamsController Team Members POST /teams/:id/members returns error when team is full
rspec ./spec/requests/api/v1/teams_controller_spec.rb:212 # TeamsController Team Members DELETE /teams/:id/members/:user_id removes a team member
rspec ./spec/requests/api/v1/teams_controller_spec.rb:220 # TeamsController Team Members DELETE /teams/:id/members/:user_id returns 404 for non-existent member
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:160 # teams_participants /teams_participants/update_duty put duty updated successfully returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:187 # teams_participants /teams_participants/update_duty put forbidden: user not authorized returns a 403 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:223 # teams_participants /teams_participants/update_duty put teams participant not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:244 # teams_participants /teams_participants/{id}/list_participants get for assignment returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:256 # teams_participants /teams_participants/{id}/list_participants get for course returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:268 # teams_participants /teams_participants/{id}/list_participants get team not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:295 # teams_participants /teams_participants/{id}/add_participant post added to assignment returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:310 # teams_participants /teams_participants/{id}/add_participant post added to course returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:325 # teams_participants /teams_participants/{id}/add_participant post participant not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:377 # teams_participants /teams_participants/{id}/delete_participants delete deleted (assignment) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:390 # teams_participants /teams_participants/{id}/delete_participants delete deleted (course) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:403 # teams_participants /teams_participants/{id}/delete_participants delete removed (assignment) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:416 # teams_participants /teams_participants/{id}/delete_participants delete removed (course) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:429 # teams_participants /teams_participants/{id}/delete_participants delete no participants selected returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:440 # teams_participants /teams_participants/{id}/delete_participants delete team not found returns a 404 response
rspec ./spec/requests/authentication_spec.rb:25 # AuthenticationController /login post successful login returns a 200 response

@github-actions

Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/assignment_spec.rb:18 # Assignment#num_review_rounds counts review due dates to determine the number of rounds
rspec ./spec/models/assignment_spec.rb:30 # Assignment#num_review_rounds ignores non-review deadlines when counting rounds
rspec ./spec/models/assignment_team_spec.rb:77 # AssignmentTeam validations is not valid without an assignment
rspec ./spec/models/assignment_team_spec.rb:83 # AssignmentTeam validations validates type must be AssignmentTeam
rspec ./spec/models/course_spec.rb:13 # Course validations validates presence of name
rspec ./spec/models/course_spec.rb:17 # Course validations validates presence of directory_path
rspec ./spec/models/course_spec.rb:24 # Course#path when there is no associated instructor an error is raised
rspec ./spec/models/course_spec.rb:30 # Course#path when there is an associated instructor returns a directory
rspec ./spec/models/course_team_spec.rb:83 # CourseTeam validations validates type must be CourseTeam
rspec ./spec/models/criterion_spec.rb:25 # Criterion#complete returns JSON without answer and no dropdown or scale specified
rspec ./spec/models/criterion_spec.rb:33 # Criterion#complete returns JSON with a dropdown, including answer options
rspec ./spec/models/dropdown_spec.rb:8 # Dropdown#edit when given a count returns a JSON object with the edit form for a item
rspec ./spec/models/due_date_spec.rb:13 # DueDate.fetch_due_dates fetches all the due_dates from a due_date's parent
rspec ./spec/models/due_date_spec.rb:33 # DueDate.sort_due_dates sorts a list of due dates from earliest to latest
rspec ./spec/models/due_date_spec.rb:52 # DueDate.any_future_due_dates? returns true when a future due date exists
rspec ./spec/models/due_date_spec.rb:63 # DueDate.any_future_due_dates? returns true when a no future due dates exist
rspec ./spec/models/due_date_spec.rb:78 # DueDate.set returns true when a future due date exists
rspec ./spec/models/due_date_spec.rb:96 # DueDate.copy copies the due dates from one assignment to another
rspec ./spec/models/due_date_spec.rb:135 # DueDate.next_due_date when parent_type is Assignment returns the next upcoming due date
rspec ./spec/models/due_date_spec.rb:168 # DueDate.next_due_date when parent_type is ProjectTopic calls TopicDueDate.next_due_date
rspec ./spec/models/due_date_spec.rb:174 # DueDate.next_due_date when parent_type is ProjectTopic returns the next upcoming due date for topics
rspec ./spec/models/due_date_spec.rb:179 # DueDate.next_due_date when parent_type is ProjectTopic returns the next assignment due date when topic has no upcoming due dates
rspec ./spec/models/due_date_spec.rb:190 # DueDate validation is invalid without a parent
rspec ./spec/models/due_date_spec.rb:196 # DueDate validation is invalid without a due_at
rspec ./spec/models/due_date_spec.rb:202 # DueDate validation is valid with required fields
rspec ./spec/models/multiple_choice_checkbox_spec.rb:9 # MultipleChoiceCheckbox#edit returns the JSON structure for editing
rspec ./spec/models/multiple_choice_radio_spec.rb:20 # MultipleChoiceRadio#edit when editing a quiz item returns JSON for the item edit form
rspec ./spec/models/multiple_choice_radio_spec.rb:38 # MultipleChoiceRadio#complete when given a valid item id returns JSON for a quiz item with choices
rspec ./spec/models/multiple_choice_radio_spec.rb:57 # MultipleChoiceRadio#view_completed_item when user answer is correct includes correctness in the response
rspec ./spec/models/multiple_choice_radio_spec.rb:74 # MultipleChoiceRadio#isvalid when choice_info is valid returns valid status
rspec ./spec/models/multiple_choice_radio_spec.rb:86 # MultipleChoiceRadio#isvalid when choice_info has empty text for an option returns an error message
rspec ./spec/models/questionnaire_spec.rb:120 # Questionnaire.copy_questionnaire_details creates a copy of the questionnaire
rspec ./spec/models/questionnaire_spec.rb:132 # Questionnaire.copy_questionnaire_details creates a copy of all questions belonging to the original questionnaire
rspec ./spec/models/response_spec.rb:25 # Response#reportable_difference? when count is 0 returns false
rspec ./spec/models/response_spec.rb:33 # Response#reportable_difference? when count is not 0 when the difference between average score on same artifact from others and current score is bigger than allowed percentage returns true
rspec ./spec/models/response_spec.rb:50 # Response#aggregate_questionnaire_score computes the total score of a review
rspec ./spec/models/response_spec.rb:58 # Response#average_score when maximum_score returns 0 returns N/A
rspec ./spec/models/response_spec.rb:65 # Response#average_score when maximum_score does not return 0 calculates the maximum score
rspec ./spec/models/response_spec.rb:83 # Response#maximum_score when answers are present and scorable returns weight * max_question_score
rspec ./spec/models/response_spec.rb:92 # Response#maximum_score when answer is nil does not count that answer
rspec ./spec/models/response_spec.rb:100 # Response#maximum_score when there are no scores returns 0
rspec ./spec/models/scale_spec.rb:22 # Scale#edit returns a JSON object with item text, type, weight, and score range
rspec ./spec/models/ta_mapping_spec.rb:18 # TaMapping Teaching Assistant access creates the TA mapping

Failing Controller Test Cases:
rspec ./spec/requests/api/v1/account_requests_spec.rb:32 # Account Requests API /account_requests/pending get List Pending Account Requests returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:51 # Account Requests API /account_requests/processed get List Processed Account Requests returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:82 # Account Requests API /account_requests post Attempt to Create an Account Request with valid parameters returns a 201 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:99 # Account Requests API /account_requests post Attempt to Create an Account Request with missing parameters returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:113 # Account Requests API /account_requests post Attempt to Create an Account Request with invalid parameters returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:130 # Account Requests API /account_requests post Attempt to Create an Account Request whose username already exists in Users table returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:151 # Account Requests API /account_requests post Create an Account Request whose email already exists in Users table returns a 201 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:185 # Account Requests API /account_requests /account_requests/{id} get Retrieve a specific account request with valid id returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:209 # Account Requests API /account_requests /account_requests/{id} patch Approve account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:225 # Account Requests API /account_requests /account_requests/{id} patch Attempt to Approve account request but user with same name already exists returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:247 # Account Requests API /account_requests /account_requests/{id} patch Reject account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:263 # Account Requests API /account_requests /account_requests/{id} patch Attempt to send Invalid status in Patch returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:291 # Account Requests API /account_requests /account_requests/{id} put Approve account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:307 # Account Requests API /account_requests /account_requests/{id} put Attempt to Approve account request but user with same username already exists returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:329 # Account Requests API /account_requests /account_requests/{id} put Attempt to Approve account request but user with same email already exists returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:351 # Account Requests API /account_requests /account_requests/{id} put Reject account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:367 # Account Requests API /account_requests /account_requests/{id} put Attempt to send Invalid status in PUT returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:386 # Account Requests API /account_requests /account_requests/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:75 # Assignments API /assignments get assignment successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:99 # Assignments API /assignments/{assignment_id}/add_participant/{user_id} post participant added successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:110 # Assignments API /assignments/{assignment_id}/add_participant/{user_id} post assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:135 # Assignments API /assignments/{assignment_id}/remove_participant/{user_id} delete participant removed successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:148 # Assignments API /assignments/{assignment_id}/remove_participant/{user_id} delete assignment or user not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:173 # Assignments API /assignments/{assignment_id}/assign_course/{course_id} patch course_id assigned successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:184 # Assignments API /assignments/{assignment_id}/assign_course/{course_id} patch assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:206 # Assignments API /assignments/{assignment_id}/remove_assignment_from_course patch assignment removed from course returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:217 # Assignments API /assignments/{assignment_id}/remove_assignment_from_course patch assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:243 # Assignments API /assignments/{assignment_id}/copy_assignment post assignment copied successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:253 # Assignments API /assignments/{assignment_id}/copy_assignment post assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:276 # Assignments API /assignments/{id} delete successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:285 # Assignments API /assignments/{id} delete Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:309 # Assignments API /assignments/{assignment_id}/has_topics get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:317 # Assignments API /assignments/{assignment_id}/has_topics get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:341 # Assignments API /assignments/{assignment_id}/team_assignment get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:349 # Assignments API /assignments/{assignment_id}/team_assignment get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:374 # Assignments API /assignments/{assignment_id}/valid_num_review/{review_type} get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:383 # Assignments API /assignments/{assignment_id}/valid_num_review/{review_type} get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:408 # Assignments API /assignments/{assignment_id}/has_teams get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:416 # Assignments API /assignments/{assignment_id}/has_teams get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:440 # Assignments API /assignments/{id}/show_assignment_details get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:456 # Assignments API /assignments/{id}/show_assignment_details get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:57 # bookmarks /bookmarks get successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:98 # bookmarks /bookmarks post created returns a 201 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:109 # bookmarks /bookmarks post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:147 # bookmarks /bookmarks/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:154 # bookmarks /bookmarks/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:175 # bookmarks /bookmarks/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:187 # bookmarks /bookmarks/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:204 # bookmarks /bookmarks/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:211 # bookmarks /bookmarks/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:249 # bookmarks /bookmarks/{id}/bookmarkratings post successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:261 # bookmarks /bookmarks/{id}/bookmarkratings get successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:270 # bookmarks /bookmarks/{id}/bookmarkratings get not found returns a 404 response
rspec ./spec/requests/api/v1/courses_spec.rb:49 # courses /courses/{id}/add_ta/{ta_id} get successful returns a 201 response
rspec ./spec/requests/api/v1/courses_spec.rb:87 # courses /courses/{id}/tas get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:126 # courses /courses/{id}/remove_ta/{ta_id} get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:153 # courses /courses/{id}/copy get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:170 # courses /courses get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:197 # courses /courses post successful returns a 201 response
rspec ./spec/requests/api/v1/courses_spec.rb:226 # courses /courses/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:259 # courses /courses/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:292 # courses /courses/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:313 # courses /courses/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:79 # Grades API /grades/{assignment_id}/view_all_scores get Returns all scores for assignment returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:89 # Grades API /grades/{assignment_id}/view_all_scores get Returns participant scores when participant_id provided returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:99 # Grades API /grades/{assignment_id}/view_all_scores get Returns team scores when team_id provided returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:109 # Grades API /grades/{assignment_id}/view_all_scores get Forbidden - Student cannot access returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:118 # Grades API /grades/{assignment_id}/view_all_scores get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:138 # Grades API /grades/{assignment_id}/view_our_scores get Returns team scores returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:149 # Grades API /grades/{assignment_id}/view_our_scores get Assignment Participant not found returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:158 # Grades API /grades/{assignment_id}/view_our_scores get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:178 # Grades API /grades/{assignment_id}/view_my_scores get Returns participant scores returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:193 # Grades API /grades/{assignment_id}/view_my_scores get Participant not found returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:202 # Grades API /grades/{assignment_id}/view_my_scores get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:222 # Grades API /grades/{participant_id}/edit get Returns participant, assignment, items, and scores returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:236 # Grades API /grades/{participant_id}/edit get Participant not found returns a 404 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:244 # Grades API /grades/{participant_id}/edit get Forbidden - Student cannot access returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:253 # Grades API /grades/{participant_id}/edit get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:281 # Grades API /grades/{participant_id}/assign_grade patch Team grade and comment assigned successfully returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:295 # Grades API /grades/{participant_id}/assign_grade patch Failed to assign team grade or comment returns a 422 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:308 # Grades API /grades/{participant_id}/assign_grade patch Participant not found returns a 404 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:317 # Grades API /grades/{participant_id}/assign_grade patch Forbidden - Student cannot access returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:327 # Grades API /grades/{participant_id}/assign_grade patch Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:348 # Grades API /grades/{participant_id}/instructor_review get Returns mapping and redirect information for new review returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:360 # Grades API /grades/{participant_id}/instructor_review get Returns mapping and redirect information for existing review returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:380 # Grades API /grades/{participant_id}/instructor_review get Participant not found returns a 404 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:388 # Grades API /grades/{participant_id}/instructor_review get Forbidden - Student cannot access returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:397 # Grades API /grades/{participant_id}/instructor_review get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:414 # Grades API Teaching Assistant access creates the TA mapping
rspec ./spec/requests/api/v1/grades_controller_spec.rb:418 # Grades API Teaching Assistant access allows TA to access view_all_scores
rspec ./spec/requests/api/v1/grades_controller_spec.rb:423 # Grades API Teaching Assistant access denies TA from accessing instructor_review
rspec ./spec/requests/api/v1/grades_controller_spec.rb:428 # Grades API Teaching Assistant access denies TA from assigning grades
rspec ./spec/requests/api/v1/institution_spec.rb:26 # Institutions API /institutions get successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:50 # Institutions API /institutions post Created a institution returns a 201 response
rspec ./spec/requests/api/v1/institution_spec.rb:63 # Institutions API /institutions post invalid request returns a 422 response
rspec ./spec/requests/api/v1/institution_spec.rb:86 # Institutions API /institutions/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:110 # Institutions API /institutions/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:124 # Institutions API /institutions/{id} put invalid request returns a 422 response
rspec ./spec/requests/api/v1/institution_spec.rb:151 # Institutions API /institutions/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:165 # Institutions API /institutions/{id} patch invalid request returns a 422 response
rspec ./spec/requests/api/v1/institution_spec.rb:184 # Institutions API /institutions/{id} delete successful returns a 200 response
rspec ./spec/requests/api/v1/invitation_controller_spec.rb:132 # Invitations API /invitations post Create successful returns a 201 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:105 # Participants API /participants/assignment/{assignment_id} get Returns participants returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:56 # questionnaires /questionnaires get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:102 # questionnaires /questionnaires post created returns a 201 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:113 # questionnaires /questionnaires post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:151 # questionnaires /questionnaires/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:158 # questionnaires /questionnaires/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:179 # questionnaires /questionnaires/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:191 # questionnaires /questionnaires/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:204 # questionnaires /questionnaires/{id} put unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:230 # questionnaires /questionnaires/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:242 # questionnaires /questionnaires/{id} patch not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:255 # questionnaires /questionnaires/{id} patch unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:272 # questionnaires /questionnaires/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:279 # questionnaires /questionnaires/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:317 # questionnaires /questionnaires/toggle_access/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:324 # questionnaires /questionnaires/toggle_access/{id} get not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:375 # questionnaires /questionnaires/copy/{id} post successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:383 # questionnaires /questionnaires/copy/{id} post not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:63 # questions /questions get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:119 # questions /questions post created returns a 201 response
rspec ./spec/requests/api/v1/questions_spec.rb:127 # questions /questions post questionnaire id not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:136 # questions /questions post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:187 # questions /questions/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:194 # questions /questions/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:216 # questions /questions/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:228 # questions /questions/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:241 # questions /questions/{id} put unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:270 # questions /questions/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:282 # questions /questions/{id} patch not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:295 # questions /questions/{id} patch unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:315 # questions /questions/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/questions_spec.rb:322 # questions /questions/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:384 # questions /questions/delete_all/questionnaire/{id} delete successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:391 # questions /questions/delete_all/questionnaire/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:478 # questions /questions/show_all/questionnaire/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:486 # questions /questions/show_all/questionnaire/{id} get not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:537 # questions /questions/types get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:30 # Roles API /roles get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:56 # Roles API /roles post Created a role returns a 201 response
rspec ./spec/requests/api/v1/roles_spec.rb:69 # Roles API /roles post invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:95 # Roles API /roles/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:121 # Roles API /roles/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:133 # Roles API /roles/{id} patch invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:161 # Roles API /roles/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:173 # Roles API /roles/{id} put invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:192 # Roles API /roles/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/student_tasks_controller_spec.rb:49 # StudentTasks API /student_tasks/list get authorized request has proper JSON schema returns a 200 response
rspec ./spec/requests/api/v1/student_tasks_controller_spec.rb:110 # StudentTasks API /student_tasks/view get successful retrieval of a student task returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:137 # Submitted Content API /submitted_content get successful returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:180 # Submitted Content API /submitted_content post created returns a 201 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:209 # Submitted Content API /submitted_content post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:232 # Submitted Content API /submitted_content/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:281 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with valid submission returns success
rspec ./spec/requests/api/v1/submitted_content_spec.rb:296 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with blank submission returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:316 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with duplicate hyperlink returns conflict
rspec ./spec/requests/api/v1/submitted_content_spec.rb:337 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with invalid URL returns bad request with error
rspec ./spec/requests/api/v1/submitted_content_spec.rb:399 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with valid hyperlink index returns no content
rspec ./spec/requests/api/v1/submitted_content_spec.rb:416 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with invalid hyperlink index returns not found
rspec ./spec/requests/api/v1/submitted_content_spec.rb:437 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with removal error returns internal server error
rspec ./spec/requests/api/v1/submitted_content_spec.rb:459 # Submitted Content API /submitted_content/remove_hyperlink delete removed returns a 204 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:504 # Submitted Content API /submitted_content/submit_file POST behaves like file submission without file returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:533 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with oversized file returns bad request for size limit
rspec ./spec/requests/api/v1/submitted_content_spec.rb:560 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with invalid extension returns bad request for invalid extension
rspec ./spec/requests/api/v1/submitted_content_spec.rb:594 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with valid file returns success
rspec ./spec/requests/api/v1/submitted_content_spec.rb:634 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with zip file and unzip flag unzips the file when requested
rspec ./spec/requests/api/v1/submitted_content_spec.rb:661 # Submitted Content API /submitted_content/submit_file post file submitted returns a 201 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:713 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions without action specified returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:733 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with delete action calls delete_selected_files
rspec ./spec/requests/api/v1/submitted_content_spec.rb:752 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with rename action calls rename_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:771 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with move action calls move_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:790 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with copy action calls copy_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:809 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with create action calls create_new_folder
rspec ./spec/requests/api/v1/submitted_content_spec.rb:832 # Submitted Content API /submitted_content/folder_action post folder action returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:867 # Submitted Content API /submitted_content/download get folder name is nil returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:878 # Submitted Content API /submitted_content/download get file name is nil returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:889 # Submitted Content API /submitted_content/download get cannot send whole folder returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:904 # Submitted Content API /submitted_content/download get file does not exist returns a 404 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:951 # Submitted Content API /submitted_content/list_files get directory listed returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:962 # Submitted Content API /submitted_content/list_files get not a directory returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:994 # Submitted Content API Error handling when team not found returns not found for submit_hyperlink
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1019 # Submitted Content API SubmittedContent happy paths lists submission records
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1025 # Submitted Content API SubmittedContent happy paths shows a submission record
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1031 # Submitted Content API SubmittedContent happy paths submits a hyperlink (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1038 # Submitted Content API SubmittedContent happy paths removes a hyperlink (DELETE)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1046 # Submitted Content API SubmittedContent happy paths submits a file (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1063 # Submitted Content API SubmittedContent happy paths performs a folder action (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1071 # Submitted Content API SubmittedContent happy paths downloads a file (GET)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1084 # Submitted Content API SubmittedContent happy paths lists files (GET)
rspec ./spec/requests/api/v1/teams_controller_spec.rb:130 # TeamsController GET /teams returns all teams
rspec ./spec/requests/api/v1/teams_controller_spec.rb:140 # TeamsController GET /teams/:id returns a specific team
rspec ./spec/requests/api/v1/teams_controller_spec.rb:146 # TeamsController GET /teams/:id returns 404 for non-existent team
rspec ./spec/requests/api/v1/teams_controller_spec.rb:153 # TeamsController POST /teams returns error for invalid params
rspec ./spec/requests/api/v1/teams_controller_spec.rb:162 # TeamsController Team Members GET /teams/:id/members returns all team members
rspec ./spec/requests/api/v1/teams_controller_spec.rb:183 # TeamsController Team Members POST /teams/:id/members adds a new team member
rspec ./spec/requests/api/v1/teams_controller_spec.rb:191 # TeamsController Team Members POST /teams/:id/members returns error when team is full
rspec ./spec/requests/api/v1/teams_controller_spec.rb:212 # TeamsController Team Members DELETE /teams/:id/members/:user_id removes a team member
rspec ./spec/requests/api/v1/teams_controller_spec.rb:220 # TeamsController Team Members DELETE /teams/:id/members/:user_id returns 404 for non-existent member
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:160 # teams_participants /teams_participants/update_duty put duty updated successfully returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:187 # teams_participants /teams_participants/update_duty put forbidden: user not authorized returns a 403 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:223 # teams_participants /teams_participants/update_duty put teams participant not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:244 # teams_participants /teams_participants/{id}/list_participants get for assignment returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:256 # teams_participants /teams_participants/{id}/list_participants get for course returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:268 # teams_participants /teams_participants/{id}/list_participants get team not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:295 # teams_participants /teams_participants/{id}/add_participant post added to assignment returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:310 # teams_participants /teams_participants/{id}/add_participant post added to course returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:325 # teams_participants /teams_participants/{id}/add_participant post participant not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:377 # teams_participants /teams_participants/{id}/delete_participants delete deleted (assignment) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:390 # teams_participants /teams_participants/{id}/delete_participants delete deleted (course) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:403 # teams_participants /teams_participants/{id}/delete_participants delete removed (assignment) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:416 # teams_participants /teams_participants/{id}/delete_participants delete removed (course) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:429 # teams_participants /teams_participants/{id}/delete_participants delete no participants selected returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:440 # teams_participants /teams_participants/{id}/delete_participants delete team not found returns a 404 response

jappurohit041 and others added 2 commits April 2, 2026 19:14
Fixed the models test cases to make it align with new database schema…
@github-actions

github-actions Bot commented Apr 5, 2026

Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Controller Test Cases:
rspec ./spec/requests/api/v1/account_requests_spec.rb:32 # Account Requests API /account_requests/pending get List Pending Account Requests returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:51 # Account Requests API /account_requests/processed get List Processed Account Requests returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:82 # Account Requests API /account_requests post Attempt to Create an Account Request with valid parameters returns a 201 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:99 # Account Requests API /account_requests post Attempt to Create an Account Request with missing parameters returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:113 # Account Requests API /account_requests post Attempt to Create an Account Request with invalid parameters returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:130 # Account Requests API /account_requests post Attempt to Create an Account Request whose username already exists in Users table returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:151 # Account Requests API /account_requests post Create an Account Request whose email already exists in Users table returns a 201 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:185 # Account Requests API /account_requests /account_requests/{id} get Retrieve a specific account request with valid id returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:209 # Account Requests API /account_requests /account_requests/{id} patch Approve account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:225 # Account Requests API /account_requests /account_requests/{id} patch Attempt to Approve account request but user with same name already exists returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:247 # Account Requests API /account_requests /account_requests/{id} patch Reject account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:263 # Account Requests API /account_requests /account_requests/{id} patch Attempt to send Invalid status in Patch returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:291 # Account Requests API /account_requests /account_requests/{id} put Approve account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:307 # Account Requests API /account_requests /account_requests/{id} put Attempt to Approve account request but user with same username already exists returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:329 # Account Requests API /account_requests /account_requests/{id} put Attempt to Approve account request but user with same email already exists returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:351 # Account Requests API /account_requests /account_requests/{id} put Reject account request returns a 200 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:367 # Account Requests API /account_requests /account_requests/{id} put Attempt to send Invalid status in PUT returns a 422 response
rspec ./spec/requests/api/v1/account_requests_spec.rb:386 # Account Requests API /account_requests /account_requests/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:75 # Assignments API /assignments get assignment successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:99 # Assignments API /assignments/{assignment_id}/add_participant/{user_id} post participant added successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:110 # Assignments API /assignments/{assignment_id}/add_participant/{user_id} post assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:135 # Assignments API /assignments/{assignment_id}/remove_participant/{user_id} delete participant removed successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:148 # Assignments API /assignments/{assignment_id}/remove_participant/{user_id} delete assignment or user not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:173 # Assignments API /assignments/{assignment_id}/assign_course/{course_id} patch course_id assigned successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:184 # Assignments API /assignments/{assignment_id}/assign_course/{course_id} patch assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:206 # Assignments API /assignments/{assignment_id}/remove_assignment_from_course patch assignment removed from course returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:217 # Assignments API /assignments/{assignment_id}/remove_assignment_from_course patch assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:243 # Assignments API /assignments/{assignment_id}/copy_assignment post assignment copied successfully returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:253 # Assignments API /assignments/{assignment_id}/copy_assignment post assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:276 # Assignments API /assignments/{id} delete successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:285 # Assignments API /assignments/{id} delete Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:309 # Assignments API /assignments/{assignment_id}/has_topics get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:317 # Assignments API /assignments/{assignment_id}/has_topics get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:341 # Assignments API /assignments/{assignment_id}/team_assignment get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:349 # Assignments API /assignments/{assignment_id}/team_assignment get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:374 # Assignments API /assignments/{assignment_id}/valid_num_review/{review_type} get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:383 # Assignments API /assignments/{assignment_id}/valid_num_review/{review_type} get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:408 # Assignments API /assignments/{assignment_id}/has_teams get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:416 # Assignments API /assignments/{assignment_id}/has_teams get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:440 # Assignments API /assignments/{id}/show_assignment_details get successful returns a 200 response
rspec ./spec/requests/api/v1/assignment_controller_spec.rb:456 # Assignments API /assignments/{id}/show_assignment_details get Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:57 # bookmarks /bookmarks get successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:98 # bookmarks /bookmarks post created returns a 201 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:109 # bookmarks /bookmarks post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:147 # bookmarks /bookmarks/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:154 # bookmarks /bookmarks/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:175 # bookmarks /bookmarks/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:187 # bookmarks /bookmarks/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:204 # bookmarks /bookmarks/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:211 # bookmarks /bookmarks/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:249 # bookmarks /bookmarks/{id}/bookmarkratings post successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:261 # bookmarks /bookmarks/{id}/bookmarkratings get successful returns a 200 response
rspec ./spec/requests/api/v1/bookmarks_controller_spec.rb:270 # bookmarks /bookmarks/{id}/bookmarkratings get not found returns a 404 response
rspec ./spec/requests/api/v1/courses_spec.rb:49 # courses /courses/{id}/add_ta/{ta_id} get successful returns a 201 response
rspec ./spec/requests/api/v1/courses_spec.rb:87 # courses /courses/{id}/tas get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:126 # courses /courses/{id}/remove_ta/{ta_id} get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:153 # courses /courses/{id}/copy get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:170 # courses /courses get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:197 # courses /courses post successful returns a 201 response
rspec ./spec/requests/api/v1/courses_spec.rb:226 # courses /courses/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:259 # courses /courses/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:292 # courses /courses/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/courses_spec.rb:313 # courses /courses/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:348 # Grades API /grades/{participant_id}/instructor_review get Returns mapping and redirect information for new review returns a 200 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:360 # Grades API /grades/{participant_id}/instructor_review get Returns mapping and redirect information for existing review returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:26 # Institutions API /institutions get successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:50 # Institutions API /institutions post Created a institution returns a 201 response
rspec ./spec/requests/api/v1/institution_spec.rb:63 # Institutions API /institutions post invalid request returns a 422 response
rspec ./spec/requests/api/v1/institution_spec.rb:86 # Institutions API /institutions/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:110 # Institutions API /institutions/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:124 # Institutions API /institutions/{id} put invalid request returns a 422 response
rspec ./spec/requests/api/v1/institution_spec.rb:151 # Institutions API /institutions/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/institution_spec.rb:165 # Institutions API /institutions/{id} patch invalid request returns a 422 response
rspec ./spec/requests/api/v1/institution_spec.rb:184 # Institutions API /institutions/{id} delete successful returns a 200 response
rspec ./spec/requests/api/v1/invitation_controller_spec.rb:132 # Invitations API /invitations post Create successful returns a 201 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:105 # Participants API /participants/assignment/{assignment_id} get Returns participants returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:56 # questionnaires /questionnaires get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:102 # questionnaires /questionnaires post created returns a 201 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:113 # questionnaires /questionnaires post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:151 # questionnaires /questionnaires/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:158 # questionnaires /questionnaires/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:179 # questionnaires /questionnaires/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:191 # questionnaires /questionnaires/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:204 # questionnaires /questionnaires/{id} put unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:230 # questionnaires /questionnaires/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:242 # questionnaires /questionnaires/{id} patch not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:255 # questionnaires /questionnaires/{id} patch unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:272 # questionnaires /questionnaires/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:279 # questionnaires /questionnaires/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:317 # questionnaires /questionnaires/toggle_access/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:324 # questionnaires /questionnaires/toggle_access/{id} get not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:375 # questionnaires /questionnaires/copy/{id} post successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:383 # questionnaires /questionnaires/copy/{id} post not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:63 # questions /questions get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:119 # questions /questions post created returns a 201 response
rspec ./spec/requests/api/v1/questions_spec.rb:127 # questions /questions post questionnaire id not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:136 # questions /questions post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:187 # questions /questions/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:194 # questions /questions/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:216 # questions /questions/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:228 # questions /questions/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:241 # questions /questions/{id} put unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:270 # questions /questions/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:282 # questions /questions/{id} patch not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:295 # questions /questions/{id} patch unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:315 # questions /questions/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/questions_spec.rb:322 # questions /questions/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:384 # questions /questions/delete_all/questionnaire/{id} delete successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:391 # questions /questions/delete_all/questionnaire/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:478 # questions /questions/show_all/questionnaire/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:486 # questions /questions/show_all/questionnaire/{id} get not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:537 # questions /questions/types get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:30 # Roles API /roles get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:56 # Roles API /roles post Created a role returns a 201 response
rspec ./spec/requests/api/v1/roles_spec.rb:69 # Roles API /roles post invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:95 # Roles API /roles/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:121 # Roles API /roles/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:133 # Roles API /roles/{id} patch invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:161 # Roles API /roles/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:173 # Roles API /roles/{id} put invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:192 # Roles API /roles/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/student_tasks_controller_spec.rb:49 # StudentTasks API /student_tasks/list get authorized request has proper JSON schema returns a 200 response
rspec ./spec/requests/api/v1/student_tasks_controller_spec.rb:110 # StudentTasks API /student_tasks/view get successful retrieval of a student task returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:137 # Submitted Content API /submitted_content get successful returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:180 # Submitted Content API /submitted_content post created returns a 201 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:209 # Submitted Content API /submitted_content post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:232 # Submitted Content API /submitted_content/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:281 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with valid submission returns success
rspec ./spec/requests/api/v1/submitted_content_spec.rb:296 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with blank submission returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:316 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with duplicate hyperlink returns conflict
rspec ./spec/requests/api/v1/submitted_content_spec.rb:337 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with invalid URL returns bad request with error
rspec ./spec/requests/api/v1/submitted_content_spec.rb:399 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with valid hyperlink index returns no content
rspec ./spec/requests/api/v1/submitted_content_spec.rb:416 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with invalid hyperlink index returns not found
rspec ./spec/requests/api/v1/submitted_content_spec.rb:437 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with removal error returns internal server error
rspec ./spec/requests/api/v1/submitted_content_spec.rb:459 # Submitted Content API /submitted_content/remove_hyperlink delete removed returns a 204 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:504 # Submitted Content API /submitted_content/submit_file POST behaves like file submission without file returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:533 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with oversized file returns bad request for size limit
rspec ./spec/requests/api/v1/submitted_content_spec.rb:560 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with invalid extension returns bad request for invalid extension
rspec ./spec/requests/api/v1/submitted_content_spec.rb:594 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with valid file returns success
rspec ./spec/requests/api/v1/submitted_content_spec.rb:634 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with zip file and unzip flag unzips the file when requested
rspec ./spec/requests/api/v1/submitted_content_spec.rb:661 # Submitted Content API /submitted_content/submit_file post file submitted returns a 201 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:713 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions without action specified returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:733 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with delete action calls delete_selected_files
rspec ./spec/requests/api/v1/submitted_content_spec.rb:752 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with rename action calls rename_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:771 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with move action calls move_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:790 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with copy action calls copy_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:809 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with create action calls create_new_folder
rspec ./spec/requests/api/v1/submitted_content_spec.rb:832 # Submitted Content API /submitted_content/folder_action post folder action returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:867 # Submitted Content API /submitted_content/download get folder name is nil returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:878 # Submitted Content API /submitted_content/download get file name is nil returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:889 # Submitted Content API /submitted_content/download get cannot send whole folder returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:904 # Submitted Content API /submitted_content/download get file does not exist returns a 404 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:951 # Submitted Content API /submitted_content/list_files get directory listed returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:962 # Submitted Content API /submitted_content/list_files get not a directory returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:994 # Submitted Content API Error handling when team not found returns not found for submit_hyperlink
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1019 # Submitted Content API SubmittedContent happy paths lists submission records
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1025 # Submitted Content API SubmittedContent happy paths shows a submission record
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1031 # Submitted Content API SubmittedContent happy paths submits a hyperlink (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1038 # Submitted Content API SubmittedContent happy paths removes a hyperlink (DELETE)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1046 # Submitted Content API SubmittedContent happy paths submits a file (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1063 # Submitted Content API SubmittedContent happy paths performs a folder action (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1071 # Submitted Content API SubmittedContent happy paths downloads a file (GET)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1084 # Submitted Content API SubmittedContent happy paths lists files (GET)
rspec ./spec/requests/api/v1/teams_controller_spec.rb:130 # TeamsController GET /teams returns all teams
rspec ./spec/requests/api/v1/teams_controller_spec.rb:140 # TeamsController GET /teams/:id returns a specific team
rspec ./spec/requests/api/v1/teams_controller_spec.rb:146 # TeamsController GET /teams/:id returns 404 for non-existent team
rspec ./spec/requests/api/v1/teams_controller_spec.rb:153 # TeamsController POST /teams returns error for invalid params
rspec ./spec/requests/api/v1/teams_controller_spec.rb:162 # TeamsController Team Members GET /teams/:id/members returns all team members
rspec ./spec/requests/api/v1/teams_controller_spec.rb:183 # TeamsController Team Members POST /teams/:id/members adds a new team member
rspec ./spec/requests/api/v1/teams_controller_spec.rb:191 # TeamsController Team Members POST /teams/:id/members returns error when team is full
rspec ./spec/requests/api/v1/teams_controller_spec.rb:212 # TeamsController Team Members DELETE /teams/:id/members/:user_id removes a team member
rspec ./spec/requests/api/v1/teams_controller_spec.rb:220 # TeamsController Team Members DELETE /teams/:id/members/:user_id returns 404 for non-existent member
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:160 # teams_participants /teams_participants/update_duty put duty updated successfully returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:187 # teams_participants /teams_participants/update_duty put forbidden: user not authorized returns a 403 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:223 # teams_participants /teams_participants/update_duty put teams participant not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:244 # teams_participants /teams_participants/{id}/list_participants get for assignment returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:256 # teams_participants /teams_participants/{id}/list_participants get for course returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:268 # teams_participants /teams_participants/{id}/list_participants get team not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:295 # teams_participants /teams_participants/{id}/add_participant post added to assignment returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:310 # teams_participants /teams_participants/{id}/add_participant post added to course returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:325 # teams_participants /teams_participants/{id}/add_participant post participant not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:377 # teams_participants /teams_participants/{id}/delete_participants delete deleted (assignment) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:390 # teams_participants /teams_participants/{id}/delete_participants delete deleted (course) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:403 # teams_participants /teams_participants/{id}/delete_participants delete removed (assignment) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:416 # teams_participants /teams_participants/{id}/delete_participants delete removed (course) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:429 # teams_participants /teams_participants/{id}/delete_participants delete no participants selected returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:440 # teams_participants /teams_participants/{id}/delete_participants delete team not found returns a 404 response

@github-actions

github-actions Bot commented Apr 8, 2026

Copy link
Copy Markdown

🚨 RSpec Tests Report

Failing Controller Test Cases:
rspec ./spec/requests/api/v1/grades_controller_get_review_tableau_data_spec.rb:116 # GradesController GET #get_review_tableau_data responds with valid JSON containing required keys
rspec ./spec/requests/api/v1/grades_controller_get_review_tableau_data_spec.rb:125 # GradesController GET #get_review_tableau_data returns 404 if participant is not found
rspec ./spec/requests/api/v1/grades_controller_get_review_tableau_data_spec.rb:135 # GradesController GET #get_review_tableau_data returns 404 if assignment is not found
rspec ./spec/requests/api/v1/grades_controller_get_review_tableau_data_spec.rb:145 # GradesController GET #get_review_tableau_data returns participant info correctly
rspec ./spec/requests/api/v1/grades_controller_get_review_tableau_data_spec.rb:157 # GradesController GET #get_review_tableau_data returns assignment info correctly
rspec ./spec/requests/api/v1/participants_controller_spec.rb:105 # Participants API /participants/assignment/{assignment_id} get Returns participants returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:56 # questionnaires /questionnaires get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:102 # questionnaires /questionnaires post created returns a 201 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:113 # questionnaires /questionnaires post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:151 # questionnaires /questionnaires/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:158 # questionnaires /questionnaires/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:179 # questionnaires /questionnaires/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:191 # questionnaires /questionnaires/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:204 # questionnaires /questionnaires/{id} put unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:230 # questionnaires /questionnaires/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:242 # questionnaires /questionnaires/{id} patch not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:255 # questionnaires /questionnaires/{id} patch unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:272 # questionnaires /questionnaires/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:279 # questionnaires /questionnaires/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:317 # questionnaires /questionnaires/toggle_access/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:324 # questionnaires /questionnaires/toggle_access/{id} get not found returns a 404 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:375 # questionnaires /questionnaires/copy/{id} post successful returns a 200 response
rspec ./spec/requests/api/v1/questionnaires_controller_spec.rb:383 # questionnaires /questionnaires/copy/{id} post not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:63 # questions /questions get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:119 # questions /questions post created returns a 201 response
rspec ./spec/requests/api/v1/questions_spec.rb:127 # questions /questions post questionnaire id not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:136 # questions /questions post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:187 # questions /questions/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:194 # questions /questions/{id} get not_found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:216 # questions /questions/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:228 # questions /questions/{id} put not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:241 # questions /questions/{id} put unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:270 # questions /questions/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:282 # questions /questions/{id} patch not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:295 # questions /questions/{id} patch unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/questions_spec.rb:315 # questions /questions/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/questions_spec.rb:322 # questions /questions/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:384 # questions /questions/delete_all/questionnaire/{id} delete successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:391 # questions /questions/delete_all/questionnaire/{id} delete not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:478 # questions /questions/show_all/questionnaire/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/questions_spec.rb:486 # questions /questions/show_all/questionnaire/{id} get not found returns a 404 response
rspec ./spec/requests/api/v1/questions_spec.rb:537 # questions /questions/types get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:30 # Roles API /roles get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:56 # Roles API /roles post Created a role returns a 201 response
rspec ./spec/requests/api/v1/roles_spec.rb:69 # Roles API /roles post invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:95 # Roles API /roles/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:121 # Roles API /roles/{id} patch successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:133 # Roles API /roles/{id} patch invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:161 # Roles API /roles/{id} put successful returns a 200 response
rspec ./spec/requests/api/v1/roles_spec.rb:173 # Roles API /roles/{id} put invalid request returns a 422 response
rspec ./spec/requests/api/v1/roles_spec.rb:192 # Roles API /roles/{id} delete successful returns a 204 response
rspec ./spec/requests/api/v1/student_tasks_controller_spec.rb:49 # StudentTasks API /student_tasks/list get authorized request has proper JSON schema returns a 200 response
rspec ./spec/requests/api/v1/student_tasks_controller_spec.rb:110 # StudentTasks API /student_tasks/view get successful retrieval of a student task returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:137 # Submitted Content API /submitted_content get successful returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:180 # Submitted Content API /submitted_content post created returns a 201 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:209 # Submitted Content API /submitted_content post unprocessable entity returns a 422 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:232 # Submitted Content API /submitted_content/{id} get successful returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:281 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with valid submission returns success
rspec ./spec/requests/api/v1/submitted_content_spec.rb:296 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with blank submission returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:316 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with duplicate hyperlink returns conflict
rspec ./spec/requests/api/v1/submitted_content_spec.rb:337 # Submitted Content API /submitted_content/submit_hyperlink POST behaves like hyperlink submission with invalid URL returns bad request with error
rspec ./spec/requests/api/v1/submitted_content_spec.rb:399 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with valid hyperlink index returns no content
rspec ./spec/requests/api/v1/submitted_content_spec.rb:416 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with invalid hyperlink index returns not found
rspec ./spec/requests/api/v1/submitted_content_spec.rb:437 # Submitted Content API /submitted_content/remove_hyperlink DELETE behaves like hyperlink removal with removal error returns internal server error
rspec ./spec/requests/api/v1/submitted_content_spec.rb:459 # Submitted Content API /submitted_content/remove_hyperlink delete removed returns a 204 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:504 # Submitted Content API /submitted_content/submit_file POST behaves like file submission without file returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:533 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with oversized file returns bad request for size limit
rspec ./spec/requests/api/v1/submitted_content_spec.rb:560 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with invalid extension returns bad request for invalid extension
rspec ./spec/requests/api/v1/submitted_content_spec.rb:594 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with valid file returns success
rspec ./spec/requests/api/v1/submitted_content_spec.rb:634 # Submitted Content API /submitted_content/submit_file POST behaves like file submission with zip file and unzip flag unzips the file when requested
rspec ./spec/requests/api/v1/submitted_content_spec.rb:661 # Submitted Content API /submitted_content/submit_file post file submitted returns a 201 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:713 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions without action specified returns bad request
rspec ./spec/requests/api/v1/submitted_content_spec.rb:733 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with delete action calls delete_selected_files
rspec ./spec/requests/api/v1/submitted_content_spec.rb:752 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with rename action calls rename_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:771 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with move action calls move_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:790 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with copy action calls copy_selected_file
rspec ./spec/requests/api/v1/submitted_content_spec.rb:809 # Submitted Content API /submitted_content/folder_action POST behaves like folder actions with create action calls create_new_folder
rspec ./spec/requests/api/v1/submitted_content_spec.rb:832 # Submitted Content API /submitted_content/folder_action post folder action returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:867 # Submitted Content API /submitted_content/download get folder name is nil returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:878 # Submitted Content API /submitted_content/download get file name is nil returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:889 # Submitted Content API /submitted_content/download get cannot send whole folder returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:904 # Submitted Content API /submitted_content/download get file does not exist returns a 404 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:951 # Submitted Content API /submitted_content/list_files get directory listed returns a 200 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:962 # Submitted Content API /submitted_content/list_files get not a directory returns a 400 response
rspec ./spec/requests/api/v1/submitted_content_spec.rb:994 # Submitted Content API Error handling when team not found returns not found for submit_hyperlink
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1019 # Submitted Content API SubmittedContent happy paths lists submission records
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1025 # Submitted Content API SubmittedContent happy paths shows a submission record
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1031 # Submitted Content API SubmittedContent happy paths submits a hyperlink (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1038 # Submitted Content API SubmittedContent happy paths removes a hyperlink (DELETE)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1046 # Submitted Content API SubmittedContent happy paths submits a file (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1063 # Submitted Content API SubmittedContent happy paths performs a folder action (POST)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1071 # Submitted Content API SubmittedContent happy paths downloads a file (GET)
rspec ./spec/requests/api/v1/submitted_content_spec.rb:1084 # Submitted Content API SubmittedContent happy paths lists files (GET)
rspec ./spec/requests/api/v1/teams_controller_spec.rb:130 # TeamsController GET /teams returns all teams
rspec ./spec/requests/api/v1/teams_controller_spec.rb:140 # TeamsController GET /teams/:id returns a specific team
rspec ./spec/requests/api/v1/teams_controller_spec.rb:146 # TeamsController GET /teams/:id returns 404 for non-existent team
rspec ./spec/requests/api/v1/teams_controller_spec.rb:153 # TeamsController POST /teams returns error for invalid params
rspec ./spec/requests/api/v1/teams_controller_spec.rb:162 # TeamsController Team Members GET /teams/:id/members returns all team members
rspec ./spec/requests/api/v1/teams_controller_spec.rb:183 # TeamsController Team Members POST /teams/:id/members adds a new team member
rspec ./spec/requests/api/v1/teams_controller_spec.rb:191 # TeamsController Team Members POST /teams/:id/members returns error when team is full
rspec ./spec/requests/api/v1/teams_controller_spec.rb:212 # TeamsController Team Members DELETE /teams/:id/members/:user_id removes a team member
rspec ./spec/requests/api/v1/teams_controller_spec.rb:220 # TeamsController Team Members DELETE /teams/:id/members/:user_id returns 404 for non-existent member
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:160 # teams_participants /teams_participants/update_duty put duty updated successfully returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:187 # teams_participants /teams_participants/update_duty put forbidden: user not authorized returns a 403 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:223 # teams_participants /teams_participants/update_duty put teams participant not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:244 # teams_participants /teams_participants/{id}/list_participants get for assignment returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:256 # teams_participants /teams_participants/{id}/list_participants get for course returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:268 # teams_participants /teams_participants/{id}/list_participants get team not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:295 # teams_participants /teams_participants/{id}/add_participant post added to assignment returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:310 # teams_participants /teams_participants/{id}/add_participant post added to course returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:325 # teams_participants /teams_participants/{id}/add_participant post participant not found returns a 404 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:377 # teams_participants /teams_participants/{id}/delete_participants delete deleted (assignment) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:390 # teams_participants /teams_participants/{id}/delete_participants delete deleted (course) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:403 # teams_participants /teams_participants/{id}/delete_participants delete removed (assignment) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:416 # teams_participants /teams_participants/{id}/delete_participants delete removed (course) returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:429 # teams_participants /teams_participants/{id}/delete_participants delete no participants selected returns a 200 response
rspec ./spec/requests/api/v1/teams_participants_controller_spec.rb:440 # teams_participants /teams_participants/{id}/delete_participants delete team not found returns a 404 response

@github-actions

Copy link
Copy Markdown

🚨 RSpec Tests Report

All tests passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants