This PR addressed the gaps in coverage regarding the un-RESTful route in the items_controller. Many tests were required in order to fully cover every possible combination of search queries passed into this un-RESTful route.
I also removed redundant code in the item.rb file.
All RSpec tests are still passing.
I'm just realizing we can remove some comments, but that can happen as a final refactor.
This PR addressed the gaps in coverage regarding the un-RESTful route in the items_controller. Many tests were required in order to fully cover every possible combination of search queries passed into this un-RESTful route.
I also removed redundant code in the item.rb file.
I'm just realizing we can remove some comments, but that can happen as a final refactor.