HeavyTechRuby / history

History of every building
GNU General Public License v3.0
8 stars 8 forks source link

Сломались тесты после обновления turbo-rails from 2.0.2 to 2.0.6 #90

Closed sergio-fry closed 1 month ago

sergio-fry commented 1 month ago
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