13 lines
267 B
Ruby
13 lines
267 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
require 'mastodon/cli/preview_cards'
|
|
|
|
describe Mastodon::CLI::PreviewCards do
|
|
describe '.exit_on_failure?' do
|
|
it 'returns true' do
|
|
expect(described_class.exit_on_failure?).to be true
|
|
end
|
|
end
|
|
end
|