issue_3194_update_permissions_spec.rb 401 B

123456789
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. require 'rails_helper'
  3. RSpec.describe Issue3194UpdatePermissions, type: :db_migration do
  4. it 'does update settings with new permissions' do
  5. expect { migrate }.to change { Setting.find_by(name: 'ticket_subject_size').preferences[:permission] }.to include('admin.channel_google', 'admin.channel_microsoft365')
  6. end
  7. end