html_sanitizer_processing_timeout_spec.rb 388 B

1234567891011121314
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. require 'rails_helper'
  3. RSpec.describe HtmlSanitizerProcessingTimeout, type: :db_migration do
  4. before do
  5. Setting.find_by(name: 'html_sanitizer_processing_timeout').destroy
  6. end
  7. it 'does create the setting' do
  8. migrate
  9. expect(Setting.get('html_sanitizer_processing_timeout')).to eq(20)
  10. end
  11. end