mirror of
https://github.com/mastodon/mastodon.git
synced 2024-10-21 09:06:10 +00:00
14 lines
301 B
Ruby
14 lines
301 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'rails_helper'
|
|
|
|
describe Form::StatusFilterBatchAction do
|
|
describe '#save!' do
|
|
it 'does nothing if status_filter_ids is empty' do
|
|
batch_action = described_class.new(status_filter_ids: [])
|
|
|
|
expect(batch_action.save!).to be_nil
|
|
end
|
|
end
|
|
end
|