issue_2455_follow_up_assignment_spec.rb 373 B

1234567891011
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. require 'rails_helper'
  3. RSpec.describe Issue2455FollowUpAssignment, type: :db_migration do
  4. let!(:group) { create(:group, follow_up_assignment: false) }
  5. it 'sets groups to follow_up_assignment true' do
  6. expect { migrate }.to change { group.reload.follow_up_assignment }.to(true)
  7. end
  8. end