Failures:
1) /comments POST /create with invalid parameters renders a response with 422 status (i.e. to display the 'new' template)
Failure/Error: expect(response).to have_http_status(:unprocessable_entity)
ArgumentError:
Invalid HTTP status: :unprocessable_entity
# ./spec/requests/comments_spec.rb:70:in `block (4 levels) in <top (required)>'
2) /comments PATCH /update with invalid parameters renders a response with 422 status (i.e. to display the 'edit' template)
Failure/Error: expect(response).to have_http_status(:unprocessable_entity)
ArgumentError:
Invalid HTTP status: :unprocessable_entity
# ./spec/requests/comments_spec.rb:100:in `block (4 levels) in <top (required)>'
Finished in 0.55826 seconds (files took 3.69 seconds to load)
49 examples, 2 failures, 15 pending
https://github.com/HeavyTechRuby/history/pull/89
https://github.com/HeavyTechRuby/history/actions/runs/10003159795/job/27652312610?pr=89