Sha256: c447f97ce16ed4624c816d52153ace39da53865b2a4e4f203dad899e110f3e84
Contents?: true
Size: 469 Bytes
Versions: 8
Compression:
Stored size: 469 Bytes
Contents
# frozen_string_literal: true require 'factory_bot' require 'securerandom' FactoryBot.define do factory :meibo_user_profile, class: 'Meibo::UserProfile' do initialize_with { new(**attributes) } transient do user { nil } end sourced_id { SecureRandom.uuid } user_sourced_id { user&.sourced_id } profile_type { 'meibo test' } vendor_id { 'meibo' } credential_type { 'plain' } sequence(:username) {|n| "user#{n}"} end end
Version data entries
8 entries across 8 versions & 1 rubygems