Sha256: cbbbcb764b15cb81b6f7a4be0f3074bdcd81cd057bb5e086cf0f0b2ca9d4d1c8
Contents?: true
Size: 961 Bytes
Versions: 1
Compression:
Stored size: 961 Bytes
Contents
# frozen_string_literal: true require 'securerandom' FactoryGirl.define do factory :person, class: Namespaced::Person do first_name 'Tony' last_name 'Stark' guid '98711710-acb5-4a41-ba51-e0fc56644b53' global_registry_id nil global_registry_mdm_id nil end factory :user_edited, class: Namespaced::Person::UserEdited do first_name 'Bruce' last_name 'Banner' guid 'e4b665fe-df98-46b4-adb8-e878669dcdd4' global_registry_id nil global_registry_mdm_id nil end factory :address do address1 '10880 Malibu Point' zip '90265' primary true global_registry_id nil person_id nil end factory :organization do name 'Organization' description 'Fancy Organization' start_date { Time.zone.today } parent_id nil gr_id nil end factory :assignment do role 'leader' hired_at { 2.months.ago } person_id nil organization_id nil global_registry_id nil end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
global-registry-bindings-0.0.6 | spec/factories/factories.rb |