Sha256: 7b0db2c6484282043c2dc424c3f9b48e1bbc124bf297aed25f5ccf4956cc1ef5
Contents?: true
Size: 261 Bytes
Versions: 2
Compression:
Stored size: 261 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :tenant, class: ::SolidusActAsTenant.config.class_name do sequence(:name) { |i| "Demo #{i}" } sequence(:subdomain) { |i| "demo-#{i}" } sequence(:domain) { |i| "demo-#{i}.com" } end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
solidus_act_as_tenant-0.0.4 | lib/solidus_act_as_tenant/factories/tenant_factory.rb |
solidus_act_as_tenant-0.0.3 | lib/solidus_act_as_tenant/factories/tenant_factory.rb |