diff options
Diffstat (limited to 'Library/Homebrew/test/pathname_spec.rb')
| -rw-r--r-- | Library/Homebrew/test/pathname_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/test/pathname_spec.rb b/Library/Homebrew/test/pathname_spec.rb index da12d4347..6e7dc34aa 100644 --- a/Library/Homebrew/test/pathname_spec.rb +++ b/Library/Homebrew/test/pathname_spec.rb @@ -30,13 +30,13 @@ describe Pathname do describe "#abv" do context "when called on a directory" do it "returns a string with the file count and disk usage" do - expect(dir.abv).to eq("3 files, 1M") + expect(dir.abv).to eq("3 files, 1MB") end end context "when called on a file" do it "returns the disk usage" do - expect((dir/"a-file").abv).to eq("1M") + expect((dir/"a-file").abv).to eq("1MB") end end end |
