E2358. Refactor student quizzes controller.rb

From Expertiza_Wiki
Revision as of 15:11, 29 October 2023 by Sleaston (talk | contribs) (→‎Results)
Jump to navigation Jump to search

Introduction

Student Quizzes are...

New Files

  1. spec/controllers/student_quizzes_controller_spec.rb

File Changes

  1. app/controllers/student_quizzes_controller.rb


Test Plan

Test plans did not exist for student_quizzes_controller.rb when we started the project. A test skeleton was created by Mustafa Olmez and integrated into the our work. The complete file can be found here:
https://github.com/expertiza/expertiza/pull/2656/files#diff-06772dc7cd41f4d09fb403ddcc22137ade6308cb87ec53d82bf7664300c4eef7
We found that a factory existed for student quizzes. Much of the work previously found in the quiz_factory was incorporated into the RSpec controller tests.

Modifications

Results

What do we make of this capture? ECE517_Fall_2023_E2558_Remove_Quiz_Functionality_Expertiza.jpg

Team

Rain Bayraktar <ybbayrak@ncsu.edu>
Steve Easton <sleaston@ncsu.edu>
Scott Hardin <shardin2@ncsu.edu>

Pull Request

Changes for this project are under Expertiza Pull Request https://github.com/expertiza/expertiza/pull/2656