aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test
diff options
context:
space:
mode:
authorMarkus Reiter2017-03-07 18:02:31 +0100
committerMarkus Reiter2017-03-07 18:02:31 +0100
commite0acaeef816ae73566b2067608a6530b61a8037a (patch)
treea9409f3d39403706cebfef445739081d29795edf /Library/Homebrew/test
parent1959cc3f2df6287467d90242fc6dee41398a5731 (diff)
downloadbrew-e0acaeef816ae73566b2067608a6530b61a8037a.tar.bz2
Remove redundant `Utils`.
Diffstat (limited to 'Library/Homebrew/test')
-rw-r--r--Library/Homebrew/test/cask/cli/cleanup_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/test/cask/cli/cleanup_spec.rb b/Library/Homebrew/test/cask/cli/cleanup_spec.rb
index f8578e80d..c7ef356c0 100644
--- a/Library/Homebrew/test/cask/cli/cleanup_spec.rb
+++ b/Library/Homebrew/test/cask/cli/cleanup_spec.rb
@@ -19,7 +19,7 @@ describe Hbc::CLI::Cleanup, :cask do
cached_downloads.each(&FileUtils.method(:touch))
- cleanup_size = Hbc::Utils.size_in_bytes(cached_downloads[0])
+ cleanup_size = cached_downloads[0].disk_usage
expect {
subject.cleanup(cleaned_up_cached_download)