Pārlūkot izejas kodu

fix: update test to handle activeresource.to_json in Ruby 3.0

Mike Dalessio 3 gadi atpakaļ
vecāks
revīzija
f55ad50863
1 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 2 2
      test/meta_test.rb

+ 2 - 2
test/meta_test.rb

@@ -40,8 +40,8 @@ class ApiVersionTest < Test::Unit::TestCase
         "display_name": "unstable",
         "supported": false,
       },
-    ].to_json
+    ].as_json
 
-    assert_equal versions, ShopifyAPI::Meta.admin_versions.to_json
+    assert_equal versions, ShopifyAPI::Meta.admin_versions.as_json
   end
 end