E2358. Refactor student quizzes controller.rb: Difference between revisions

From Expertiza_Wiki
Jump to navigation Jump to search
Line 11: Line 11:
== Test Plan==
== Test Plan==
<nowiki>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: </nowiki> <br>https://github.com/expertiza/expertiza/pull/2656/files#diff-06772dc7cd41f4d09fb403ddcc22137ade6308cb87ec53d82bf7664300c4eef7
<nowiki>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: </nowiki> <br>https://github.com/expertiza/expertiza/pull/2656/files#diff-06772dc7cd41f4d09fb403ddcc22137ade6308cb87ec53d82bf7664300c4eef7
<br>
<nowiki>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. </nowiki>
<nowiki>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. </nowiki>



Revision as of 15:05, 29 October 2023

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

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