Open Grochocinski opened 1 week ago
It appears that going into each /spec/routing/*_spec.rb
file and changing the reference to each controller from ControllerName to Api::V1::ControllerName (e.g. CoursesController
to Api::V1::CoursesController
) fixes this issue.
However, after modifying the 5 problematic files, rebuilding the containers, and rerunning rspec
, I'm now seeing the following test results:
284 examples, 263 failures, 5 pending
I'm unsure if those results are related to this fix or if there is a deeper issue with the codebase.
Problem Description
When I run
rspec
, it appears to error out before even getting a chance to run the tests. Here is the complete output from my terminal.Replication Steps
(assuming Docker desktop is already installed)
git config --global core.autocrlf false
git clone https://github.com/expertiza/reimplementation-back-end.git
cd reimplementation-back-end
sudo docker compose up
rspec