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

th-downstream
Matt Jankowski 12 months ago committed by GitHub
parent 272592d16d
commit 92fa9b109f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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

Loading…
Cancel
Save