internetarchive: replace Utils::JSON with corelib JSON.
This commit is contained in:
parent
848aecc87a
commit
c4c2810047
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue