Add shared example for CLI command specs (#28165)
This commit is contained in:
parent
92fa9b109f
commit
7753e5f715
17 changed files with 28 additions and 81 deletions
|
@ -6,11 +6,7 @@ require 'mastodon/cli/statuses'
|
|||
describe Mastodon::CLI::Statuses do
|
||||
let(:cli) { described_class.new }
|
||||
|
||||
describe '.exit_on_failure?' do
|
||||
it 'returns true' do
|
||||
expect(described_class.exit_on_failure?).to be true
|
||||
end
|
||||
end
|
||||
it_behaves_like 'CLI Command'
|
||||
|
||||
describe '#remove', use_transactional_tests: false do
|
||||
context 'with small batch size' do
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue