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
|
@ -4,9 +4,5 @@ require 'rails_helper'
|
|||
require 'mastodon/cli/upgrade'
|
||||
|
||||
describe Mastodon::CLI::Upgrade do
|
||||
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'
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue