DatabaseCleaner / database_cleaner

Strategies for cleaning databases in Ruby. Can be used to ensure a clean state for testing.
https://www.rubydoc.info/github/DatabaseCleaner/database_cleaner
MIT License
2.94k stars 484 forks source link

Add Ruby 3.2 to the CI matrix #697

Closed petergoldstein closed 1 year ago

petergoldstein commented 1 year ago

In addition to adding Ruby 3.2 to the CI matrix, I updated the version of the checkout action.

To get the specs to green I had to make a few additional changes:

  1. Add explicit hashes in the with clauses to remove ambiguity with keyword arguments
  2. Update the safeguard logic to treat an empty string for host as local.

This runs green on my fork.