aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/test/utils_spec.rb
AgeCommit message (Collapse)Author
2017-02-28Add `mktmpdir` helper method.Markus Reiter
2017-02-25Add 'B' for bytes to cleanup command outputJeppe Toustrup
When `brew cleanup` is run it prints out a message like the following: > This operation has freed approximately 222M of disk space. The '222M' refers to megabytes but the normal acronym for megabytes would be 'MB'. The 'B' is also missing from kilobytes and gigabytes in the output, so that's what this commit adds.
2017-02-19Handle `Homebrew.failed` in `spec_helper`.Markus Reiter
2017-02-19Convert Utils test to spec.Markus Reiter