CSC/ECE 517 Fall 2022 - E2274: Refactor teams controller.rb
Introduction
In this project we refactored teams_controller.rb and some tests associated with it. Before we worked on it, teams_controller.rb had some problems that violated some essential Rails design principles. Some methods have been moved to the teams.rb model class. Some duplicate code was removed. We added some comments for readability. And, we fixed tests to be more consistent with the program and execution.
Previous Work
https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Spring_2022_-_E2214:_Refactor_teams_controller
https://expertiza.csc.ncsu.edu/index.php/CSC/ECE_517_Fall_2022_-_E2254:_Refactor_teams_controller.rb