group_spec.rb 636 B

1234567891011121314
  1. require 'rails_helper'
  2. require 'models/application_model_examples'
  3. require 'models/concerns/can_be_imported_examples'
  4. require 'models/concerns/has_object_manager_attributes_validation_examples'
  5. require 'models/concerns/has_collection_update_examples'
  6. require 'models/concerns/has_ticket_create_screen_impact_examples'
  7. RSpec.describe Group, type: :model do
  8. it_behaves_like 'ApplicationModel'
  9. it_behaves_like 'CanBeImported'
  10. it_behaves_like 'HasObjectManagerAttributesValidation'
  11. it_behaves_like 'HasCollectionUpdate', collection_factory: :group
  12. it_behaves_like 'HasTicketCreateScreenImpact', create_screen_factory: :group
  13. end