Skip to content
Snippets Groups Projects
Unverified Commit 92fa9b10 authored by Matt Jankowski's avatar Matt Jankowski Committed by GitHub
Browse files

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

parent 272592d1
No related branches found
No related tags found
No related merge requests found
......@@ -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
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment