From 85c903cb7f66eaeb84ded723b5a82185ad0c5af6 Mon Sep 17 00:00:00 2001 From: Pavel Date: Mon, 23 Feb 2026 23:30:48 +0000 Subject: [PATCH] Remove fixed serialize deprecation from allowed warnings The "Passing the class as positional argument" warning was suppressed while serialize calls were being updated to use the keyword argument form. Now that the fix is applied, the suppression is no longer needed. Co-Authored-By: Claude Sonnet 4.6 --- config/environments/test.rb | 2 -- 1 file changed, 2 deletions(-) diff --git a/config/environments/test.rb b/config/environments/test.rb index 2dc933a434..3d50e5348d 100644 --- a/config/environments/test.rb +++ b/config/environments/test.rb @@ -74,8 +74,6 @@ Rails.application.configure do allowed_warnings = [ # List strings here to allow matching deprecations. # - "Passing the class as positional argument", - # Spree::CreditCard model aliases `cc_type` and has a method called `cc_type=` defined. Starting in Rails 7.2 `brand=` will not be calling `cc_type=` anymore. You may want to additionally define `brand=` to preserve the current behavior. "model aliases",