signature_spec.rb 522 B

123456789101112
  1. # Copyright (C) 2012-2024 Zammad Foundation, https://zammad-foundation.org/
  2. require 'rails_helper'
  3. require 'models/concerns/has_collection_update_examples'
  4. require 'models/concerns/has_xss_sanitized_note_examples'
  5. require 'models/application_model/has_cache_examples'
  6. RSpec.describe Signature, type: :model do
  7. it_behaves_like 'HasCollectionUpdate', collection_factory: :signature
  8. it_behaves_like 'HasXssSanitizedNote', model_factory: :signature
  9. it_behaves_like 'Association clears cache', association: :groups
  10. end