mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-09-11 20:57:44 +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
|