Skip to content

Commit f55ad50

Browse files
committed
fix: update test to handle activeresource.to_json in Ruby 3.0
1 parent 7baefa0 commit f55ad50

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/meta_test.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@ class ApiVersionTest < Test::Unit::TestCase
4040
"display_name": "unstable",
4141
"supported": false,
4242
},
43-
].to_json
43+
].as_json
4444

45-
assert_equal versions, ShopifyAPI::Meta.admin_versions.to_json
45+
assert_equal versions, ShopifyAPI::Meta.admin_versions.as_json
4646
end
4747
end

0 commit comments

Comments
 (0)