<commit_before>FactoryGirl.define do
  to_create(&:save)

  trait :with_organization do
    association :organization
  end

  # Used with EntityDescriptors, RoleDescriptors etc
  trait :with_key_descriptor do
    after(:create) do |descriptor|
      descriptor.add_key_descriptor(create :key_descriptor)
    end
  end

  trait :with_contact_person do
    after(:create) do |descriptor|
      descriptor.add_contact_person(create :contact_person)
    end
  end
end<commit_msg>Remove unrequired shared FactoryGirl traits<commit_after>FactoryGirl.define do
  to_create(&:save)
end
{'fraction_non_alphanumeric': 0.06920415224913495, 'fraction_numerical': 0.0, 'mean_word_length': 4.79, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '5257734', 'n_tokens_mistral': 176, 'n_tokens_neox': 173, 'n_words': 42}