Sha256: 64201d37049ae881a65691974fb1eb89fe5bb04a346ae9ab2b21ba0a4ab7f401
Contents?: true
Size: 423 Bytes
Versions: 145
Compression:
Stored size: 423 Bytes
Contents
# frozen_string_literal: true # generado con pg_rails FactoryBot.define do factory :user_account do association :user association :account profiles { [UserAccount.profiles.values.sample] } trait :user_existente do user { nil } user_id { User.pluck(:id).sample } end trait :account_existente do account { nil } account_id { Account.pluck(:id).sample } end end end
Version data entries
145 entries across 145 versions & 1 rubygems