testdouble / cypress-rails

Helps you write Cypress tests of your Rails app
Other
321 stars 48 forks source link

Add compatibility with Rails 7.2 #165

Open ledermann opened 3 months ago

ledermann commented 3 months ago

Rails 7.2 has introduced connection pinning in https://github.com/rails/rails/pull/50999 and removed the former method lock_thread=. This PR uses the new methods if they are available, otherwise the previous behavior remains. A deprecation warning is fixed as well.

Resolves #164