12 lines
264 B
Ruby
12 lines
264 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
require 'mastodon/cli/maintenance'
|
|
|
|
describe Mastodon::CLI::Maintenance do
|
|
describe '.exit_on_failure?' do
|
|
it 'returns true' do
|
|
expect(described_class.exit_on_failure?).to be true
|
|
end
|
|
end
|
|
end
|