1
0

Add spec coverage for media CLI usage command (#28167)

This commit is contained in:
Matt Jankowski 2023-12-01 06:56:47 -05:00 committed by GitHub
parent 272592d16d
commit 92fa9b109f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -78,4 +78,16 @@ describe Mastodon::CLI::Media do
end
end
end
describe '#usage' do
context 'without options' do
let(:options) { {} }
it 'reports about storage size' do
expect { cli.invoke(:usage, [], options) }.to output(
a_string_including('0 Bytes')
).to_stdout
end
end
end
end