Skip to content

Update Testing gems to v5 (major)

This MR contains the following updates:

Package Update Change
shoulda-matchers (source, changelog) major '~> 4.5.0' -> '~> 5.3.0'
webdrivers (changelog) major 4.7.0 -> 5.3.1

MR created with the help of gitlab-org/frontend/renovate-gitlab-bot


Release Notes

thoughtbot/shoulda-matchers (shoulda-matchers)

v5.3.0

Compare Source

Features
  • Add in: range matcher to validate_numericality_of. (#​1512)

  • Support :uuid column type for validate_absence_of matcher. (#​1518)

Bug fixes
  • Fix confusing error message from validate_inclusion_of matcher when used against a polymorphic association. (#​1523)

v5.2.0

Compare Source

Features
  • Add without_scopes method to enum matcher. (#​1453)

  • Add support for Ruby 3.1. (#​1474)

  • Add allow_blank method to validate_presence_of matcher. (#​1499)

  • Add support for Rails 7.0. No new Rails 7.0 features are supported, but only existing features that broke with the upgrade. (#​1506)

v5.1.0

Compare Source

Bug fixes
  • Fix the undefined method error for non rails project due to use of many? - method from ActiveSupport. (#​1459)
Features
  • Add array option support for have db column matcher. (#​1465)

  • Add enum attributes support for validate_absence_of matcher. (#​1464)

v5.0.0

Compare Source

Bug fixes
  • Replace in?, method from ActiveSupport, with include? to prevent exception "undefined method in?" on non-Rails app. (#​1405)
Features
  • Add support for Rails 6.1. No new Rails 6.1 features are supported, but only existing features that broke with the upgrade. (#​1418)

  • Add support for RVM (Ruby Version Manager) to setting up local environment. (#​1424)

  • Add support for alias in matcher define_enum. (#​1419)

  • Add support for Ruby 3.0. (#​1406, #​1427)

Improvements
  • Remove deprecated warnings emitted on Rails 6.1 in ActiveModel errors. (#​1444)
Backward-incompatible changes
  • Drop support for Rails 4.2, 5.0 and 5.1 as well as Ruby 2.4 and 2.5 they've been end-of-lifed. The gem now supports Ruby 2.6+ and Rails 5.2+. (#​1412, #​1415, #​1422, #​1428, #​1429)

  • Remove deprecated matchers: use_before_filter, use_after_filter, use_around_filter and allow_mass_assignment_of. (#​1430, #​1431)

titusfortner/webdrivers (webdrivers)

v5.3.1

Compare Source

  • Add post_install_message to explain status of gem

v5.3.0

Compare Source

  • Add support for Chrome for Testing drivers (#​237, thanks sadahiro-ono)
  • Support is restricted to Selenium 4.0 - 4.10 to encourage people to update to Selenium 4.11

v5.2.0

Compare Source

  • chromedriver - Fix downloading on M1 macs from version 106.0.5249.61 (#​237, thanks jmccure)

v5.1.0

Compare Source

  • Improve error messages (#​232, thanks dan-jensen)
  • Fix circular require bug with railtie (#​233, thanks amatsuda)
  • Support downloading correct geckodriver on Apple silicon (#​234 thanks stephannv)
  • Update linux locations for Chrome to latest chromedriver finder (thanks entretechno-jeremiah)
  • Add support for Microsoft Edge on Linux (#​236)

v5.0.0

Compare Source

  • Require Selenium 4+
  • Remove custom Logger and use the one in Selenium 4

Configuration

📅 Schedule: Branch creation - "before 4am on Monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever MR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this MR and you won't be reminded about these updates again.


  • If you want to rebase/retry this MR, check this box

This MR has been generated by Renovate Bot.

Merge request reports