internetarchive: replace Utils::JSON with corelib JSON.

This commit is contained in:
William Woodruff 2016-11-20 13:54:24 -05:00
parent 848aecc87a
commit c4c2810047
No known key found for this signature in database
GPG key ID: 85AE00C504833B3C

View file

@ -1,5 +1,3 @@
require "utils/json"
class Internetarchive < Formula class Internetarchive < Formula
include Language::Python::Virtualenv include Language::Python::Virtualenv
@ -68,7 +66,7 @@ class Internetarchive < Formula
end end
test do test do
metadata = Utils::JSON.load shell_output("#{bin}/ia metadata tigerbrew") metadata = JSON.parse shell_output("#{bin}/ia metadata tigerbrew")
assert_equal metadata["metadata"]["uploader"], "mistydemeo@gmail.com" assert_equal metadata["metadata"]["uploader"], "mistydemeo@gmail.com"
end end
end end