about summary refs log tree commit diff
path: root/spec/models/form/status_filter_batch_action_spec.rb
blob: f06a11cc8b03208eb99a33fa2929a517e2e88dd5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
# 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