application_model_examples.rb 637 B

12345678910111213
  1. require 'models/application_model/can_assets_examples'
  2. require 'models/application_model/can_associations_examples'
  3. require 'models/application_model/can_latest_change_examples'
  4. require 'models/application_model/can_lookup_examples'
  5. require 'models/application_model/checks_import_examples'
  6. RSpec.shared_examples 'ApplicationModel' do |options = {}|
  7. include_examples 'ApplicationModel::CanAssets', options[:can_assets]
  8. include_examples 'ApplicationModel::CanAssociations'
  9. include_examples 'ApplicationModel::CanLatestChange'
  10. include_examples 'ApplicationModel::CanLookup'
  11. include_examples 'ApplicationModel::ChecksImport'
  12. end