Sha256: e29d74726eb79baff330429c2edabc322a1da5f5eb13d4c1baf29236f37ecd9c
Contents?: true
Size: 1.02 KB
Versions: 19
Compression:
Stored size: 1.02 KB
Contents
FactoryGirl.define do factory :user, class: Maestrano::Connector::Rails::User do email 'email@example.com' tenant 'default' end factory :organization, class: Maestrano::Connector::Rails::Organization do name 'My company' tenant 'default' sequence(:uid) { SecureRandom.uuid } sequence(:oauth_uid) { |n| "realm_#{n}" } oauth_provider 'this_app' end factory :user_organization_rel, class: Maestrano::Connector::Rails::UserOrganizationRel do association :user association :organization end factory :idmap, class: Maestrano::Connector::Rails::IdMap do sequence(:connec_id) { SecureRandom.uuid } connec_entity 'person' sequence(:external_id) { |n| "external_#{n}" } external_entity 'contact' last_push_to_external 2.days.ago last_push_to_connec 1.day.ago association :organization metadata {} end factory :synchronization, class: Maestrano::Connector::Rails::Synchronization do association :organization status 'SUCCESS' partial false end end
Version data entries
19 entries across 19 versions & 1 rubygems