mirror of
https://github.com/glitch-soc/mastodon.git
synced 2025-01-30 19:42:57 -05:00
Add spec coverage for media CLI usage command (#28167)
This commit is contained in:
parent
272592d16d
commit
92fa9b109f
@ -78,4 +78,16 @@ describe Mastodon::CLI::Media do
|
|||||||
end
|
end
|
||||||
end
|
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
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user