renderer.rb 417 B

1234567891011121314
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. FactoryBot.define do
  3. factory :notification_factory_renderer, class: 'NotificationFactory::Renderer' do
  4. objects { nil }
  5. locale { 'en-en' }
  6. template { '' }
  7. escape { true }
  8. url_encode { false }
  9. trusted { false }
  10. initialize_with { new(objects:, locale:, template:, escape:, url_encode:, trusted:) }
  11. end
  12. end