application_model_examples.rb 505 B

1234567891011
  1. # Copyright (C) 2012-2023 Zammad Foundation, https://zammad-foundation.org/
  2. require 'models/application_model/can_assets_examples'
  3. require 'models/application_model/can_creates_and_updates_examples'
  4. require 'models/application_model/checks_import_examples'
  5. RSpec.shared_examples 'ApplicationModel' do |options = {}|
  6. include_examples 'ApplicationModel::CanAssets', options[:can_assets]
  7. include_examples 'ApplicationModel::CanCreatesAndUpdates'
  8. include_examples 'ApplicationModel::ChecksImport'
  9. end