Skip to content

Conversation

@vihar2712
Copy link
Collaborator

No description provided.

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

3 Warnings
⚠️ Pull request has duplicated commit messages.
⚠️ There are no test changes in this PR.
⚠️ Pull request modifies config or setup files: setup.sh.

Generated by 🚫 Danger

@github-actions
Copy link

github-actions bot commented Dec 3, 2025

🚨 RSpec Tests Report

All tests passed.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

🚨 RSpec Tests Report

All tests passed.

@github-actions
Copy link

github-actions bot commented Dec 9, 2025

🚨 RSpec Tests Report

All tests passed.

1 similar comment
@github-actions
Copy link

github-actions bot commented Dec 9, 2025

🚨 RSpec Tests Report

All tests passed.

@github-actions
Copy link

🚨 RSpec Tests Report

All tests passed.

@github-actions
Copy link

🚨 RSpec Tests Report

Failing Model Test Cases:
rspec ./spec/models/assignment_team_spec.rb:73 # AssignmentTeam validations is valid with valid attributes
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/assignment_team_spec.rb:93 # AssignmentTeam#add_member when user is not enrolled in the assignment does not add the member to the team
rspec ./spec/models/assignment_team_spec.rb:101 # AssignmentTeam#add_member when user is not enrolled in the assignment returns false
rspec ./spec/models/assignment_team_spec.rb:125 # AssignmentTeam team management cannot add unenrolled user
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:73 # CourseTeam validations is valid with valid attributes
rspec ./spec/models/course_team_spec.rb:83 # CourseTeam validations validates type must be CourseTeam
rspec ./spec/models/course_team_spec.rb:93 # CourseTeam#add_member when user is not enrolled in the course does not add the member to the team
rspec ./spec/models/course_team_spec.rb:117 # CourseTeam team management can add enrolled user
rspec ./spec/models/course_team_spec.rb:124 # CourseTeam team management cannot add unenrolled user
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 SignUpTopic calls TopicDueDate.next_due_date
rspec ./spec/models/due_date_spec.rb:174 # DueDate.next_due_date when parent_type is SignUpTopic returns the next upcoming due date for topics
rspec ./spec/models/due_date_spec.rb:179 # DueDate.next_due_date when parent_type is SignUpTopic returns the next assignment due date when topic has no upcoming due dates
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/item_spec.rb:19 # Item validations is valid with valid attributes
rspec ./spec/models/item_spec.rb:26 # Item validations is not valid without a seq
rspec ./spec/models/item_spec.rb:33 # Item validations is not valid with a non-numeric seq
rspec ./spec/models/item_spec.rb:40 # Item validations is not valid without a txt
rspec ./spec/models/item_spec.rb:47 # Item validations is not valid without a question_type
rspec ./spec/models/item_spec.rb:53 # Item validations is not valid without a break_before value
rspec ./spec/models/item_spec.rb:68 # Item#delete destroys the item object
rspec ./spec/models/item_spec.rb:81 # Item#set_choice_strategy when the item type is Dropdown assigns the correct strategy
rspec ./spec/models/item_spec.rb:90 # Item#set_choice_strategy when the item type is MultipleChoice assigns the correct strategy
rspec ./spec/models/item_spec.rb:99 # Item#set_choice_strategy when the item type is Scale assigns the correct strategy
rspec ./spec/models/item_spec.rb:108 # Item#set_choice_strategy when the item type is unknown raises an error
rspec ./spec/models/questionnaire_spec.rb:28 # Questionnaire#name returns the name of the Questionnaire
rspec ./spec/models/questionnaire_spec.rb:35 # Questionnaire#name Validate presence of name which cannot be blank
rspec ./spec/models/questionnaire_spec.rb:43 # Questionnaire#instructor_id returns the instructor id
rspec ./spec/models/questionnaire_spec.rb:50 # Questionnaire#maximum_score validate maximum score
rspec ./spec/models/questionnaire_spec.rb:55 # Questionnaire#maximum_score validate maximum score is integer
rspec ./spec/models/questionnaire_spec.rb:62 # Questionnaire#maximum_score validate maximum score should be positive
rspec ./spec/models/questionnaire_spec.rb:71 # Questionnaire#maximum_score validate maximum score should be bigger than minimum score
rspec ./spec/models/questionnaire_spec.rb:82 # Questionnaire#minimum_score validate minimum score
rspec ./spec/models/questionnaire_spec.rb:88 # Questionnaire#minimum_score validate minimum should be smaller than maximum
rspec ./spec/models/questionnaire_spec.rb:96 # Questionnaire#minimum_score validate minimum score is integer
rspec ./spec/models/questionnaire_spec.rb:107 # Questionnaire associations has many questions
rspec ./spec/models/questionnaire_spec.rb:114 # Questionnaire.copy_questionnaire_details allowing calls from copy_questionnaire_details
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/response_spec.rb:109 # Response#response_assignment returns assignment for ResponseMap
rspec ./spec/models/response_spec.rb:113 # Response#response_assignment returns assignment for ReviewResponseMap
rspec ./spec/models/ta_mapping_spec.rb:18 # TaMapping Teaching Assistant access creates the TA mapping
rspec ./spec/models/team_spec.rb:103 # Team validations is invalid without type
rspec ./spec/models/team_spec.rb:110 # Team validations is invalid with incorrect type
rspec ./spec/models/team_spec.rb:117 # Team validations is valid as AssignmentTeam
rspec ./spec/models/team_spec.rb:122 # Team validations is valid as CourseTeam
rspec ./spec/models/team_spec.rb:135 # Team#full? returns true when participants count >= assignment.max_team_size
rspec ./spec/models/team_spec.rb:152 # Team#full? returns false when participants count < assignment.max_team_size
rspec ./spec/models/team_spec.rb:157 # Team#full? always returns false for a CourseTeam (no capacity limit)
rspec ./spec/models/team_spec.rb:184 # Team#can_participant_join_team? AssignmentTeam context rejects a participant already on a team
rspec ./spec/models/team_spec.rb:198 # Team#can_participant_join_team? AssignmentTeam context rejects a participant registered under a different assignment
rspec ./spec/models/team_spec.rb:207 # Team#can_participant_join_team? AssignmentTeam context allows a properly registered, not-yet-teamed participant
rspec ./spec/models/team_spec.rb:217 # Team#can_participant_join_team? CourseTeam context rejects a participant already on a course team
rspec ./spec/models/team_spec.rb:231 # Team#can_participant_join_team? CourseTeam context rejects a participant registered under a different course
rspec ./spec/models/team_spec.rb:240 # Team#can_participant_join_team? CourseTeam context allows a properly registered, not-yet-teamed course participant
rspec ./spec/models/team_spec.rb:261 # Team#add_member AssignmentTeam creates a TeamsParticipant record on success
rspec ./spec/models/team_spec.rb:270 # Team#add_member AssignmentTeam returns an error if the assignment team is already full
rspec ./spec/models/team_spec.rb:287 # Team#add_member CourseTeam creates a TeamsParticipant record on success
rspec ./spec/models/team_spec.rb:296 # Team#add_member CourseTeam still adds even if max_participants is manually set (no cap by default)

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:74 # 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:84 # 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:94 # 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:104 # 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:113 # Grades API /grades/{assignment_id}/view_all_scores get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:133 # 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:144 # 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:153 # Grades API /grades/{assignment_id}/view_our_scores get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:173 # 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:188 # 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:197 # Grades API /grades/{assignment_id}/view_my_scores get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:217 # 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:231 # Grades API /grades/{participant_id}/edit get Participant not found returns a 404 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:239 # Grades API /grades/{participant_id}/edit get Forbidden - Student cannot access returns a 403 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:248 # Grades API /grades/{participant_id}/edit get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:276 # 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:290 # 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:303 # Grades API /grades/{participant_id}/assign_grade patch Participant not found returns a 404 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:312 # 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:322 # Grades API /grades/{participant_id}/assign_grade patch Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:343 # 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:355 # 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:375 # Grades API /grades/{participant_id}/instructor_review get Participant not found returns a 404 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:383 # 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:392 # Grades API /grades/{participant_id}/instructor_review get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/grades_controller_spec.rb:409 # Grades API Teaching Assistant access creates the TA mapping
rspec ./spec/requests/api/v1/grades_controller_spec.rb:413 # Grades API Teaching Assistant access allows TA to access view_all_scores
rspec ./spec/requests/api/v1/grades_controller_spec.rb:418 # Grades API Teaching Assistant access denies TA from accessing instructor_review
rspec ./spec/requests/api/v1/grades_controller_spec.rb:423 # 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/participants_controller_spec.rb:56 # Participants API /participants/user/{user_id} get Returns participants returns a 200 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:69 # Participants API /participants/user/{user_id} get Participant not found with user_id returns a 200 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:79 # Participants API /participants/user/{user_id} get User Not Found returns a 404 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:87 # Participants API /participants/user/{user_id} get Unauthorized returns a 401 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/participants_controller_spec.rb:118 # Participants API /participants/assignment/{assignment_id} get Assignment Not Found returns a 404 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:127 # Participants API /participants/assignment/{assignment_id} get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:145 # Participants API /participants/{id} get Returns a participant returns a 201 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:155 # Participants API /participants/{id} get Participant not found returns a 404 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:163 # Participants API /participants/{id} get Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:177 # Participants API /participants/{id} delete Participant deleted returns a 200 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:185 # Participants API /participants/{id} delete Participant not found returns a 404 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:193 # Participants API /participants/{id} delete Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:214 # Participants API /participants/{id}/{authorization} patch Participant updated returns a 201 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:224 # Participants API /participants/{id}/{authorization} patch Participant not found returns a 404 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:233 # Participants API /participants/{id}/{authorization} patch Participant not found returns a 404 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:242 # Participants API /participants/{id}/{authorization} patch Authorization not found returns a 422 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:251 # Participants API /participants/{id}/{authorization} patch Unauthorized returns a 401 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:280 # Participants API /participants/{authorization} post Participant successfully added returns a 201 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:296 # Participants API /participants/{authorization} post Participant already exist returns a 500 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:307 # Participants API /participants/{authorization} post User not found returns a 404 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:316 # Participants API /participants/{authorization} post Assignment not found returns a 404 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:325 # Participants API /participants/{authorization} post Authorization not found returns a 422 response
rspec ./spec/requests/api/v1/participants_controller_spec.rb:334 # Participants API /participants/{authorization} post Invalid authorization returns a 422 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:44 # StudentTasks API /student_tasks/list get authorized request has success response returns a 200 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:92 # StudentTasks API /student_tasks/list get unauthorized request has error response returns a 401 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/student_tasks_controller_spec.rb:141 # StudentTasks API /student_tasks/view get participant not found returns a 500 response
rspec ./spec/requests/api/v1/student_tasks_controller_spec.rb:148 # StudentTasks API /student_tasks/view get unauthorized request has error response returns a 401 response
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
rspec ./spec/requests/authentication_spec.rb:59 # AuthenticationController /login post invalid credentials returns a 401 response

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.

4 participants