trabajo-afectivo/spec/factories/vendor/net/ldap/entry.rb

12 lines
326 B
Ruby
Raw Permalink Normal View History

2022-01-01 13:38:12 +00:00
# Copyright (C) 2012-2022 Zammad Foundation, https://zammad-foundation.org/
FactoryBot.define do
# add custom attributes via:
# mocked_entry = build(:ldap_entry)
# mocked_entry['attr'] = [value, another_value]
factory :ldap_entry, class: 'Net::LDAP::Entry' do
initialize_with { new('dc=com') }
end
end