Sha256: 340e3c07600492e00d5aced883072eb209b43a1b8c58c7d48e4f39dd574e62ec
Contents?: true
Size: 348 Bytes
Versions: 17
Compression:
Stored size: 348 Bytes
Contents
# frozen_string_literal: true # generado con pg_rails FactoryBot.define do factory :account do plan { Account.plan.values.sample } nombre { Faker::Lorem.sentence } trait :with_owner do after(:create) do |model| ActsAsTenant.with_tenant(model) do create :user, :owner end end end end end
Version data entries
17 entries across 17 versions & 1 rubygems