From 6b0afa3e9c52f2d43432d7aeab53eb9e517ffe96 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Mon, 24 Apr 2017 11:45:32 +0100 Subject: Remove puts_hash, require pp I wasn’t aware this existed when I created puts_hash so: may as well remove it. --- Library/Homebrew/test/utils_spec.rb | 8 -------- 1 file changed, 8 deletions(-) (limited to 'Library/Homebrew/test') diff --git a/Library/Homebrew/test/utils_spec.rb b/Library/Homebrew/test/utils_spec.rb index ffaa1f493..be224990a 100644 --- a/Library/Homebrew/test/utils_spec.rb +++ b/Library/Homebrew/test/utils_spec.rb @@ -270,12 +270,4 @@ describe "globally-scoped helper methods" do }.to raise_error(MethodDeprecatedError, %r{method.*replacement.*homebrew/homebrew-core.*homebrew/core}m) end end - - describe "#puts_hash" do - it "outputs a hash" do - expect { - puts_hash(a: 1, b: 2, c: [3, { "d"=>4 }]) - }.to output("a: 1\nb: 2\nc: [3, {\"d\"=>4}]\n").to_stdout - end - end end -- cgit v1.2.3