Sha256: 14a9c32ed076aefd09983dd8efaac61ddb29a4d24d4cc9b766c7d01b48f9f139
Contents?: true
Size: 425 Bytes
Versions: 109
Compression:
Stored size: 425 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :alchemy_dummy_user, class: "DummyUser" do sequence(:email) { |n| "john.#{n}@doe.com" } password { "s3cr3t" } alchemy_roles { ["member"] } trait :as_admin do alchemy_roles { ["admin"] } end trait :as_author do alchemy_roles { ["author"] } end trait :as_editor do alchemy_roles { ["editor"] } end end end
Version data entries
109 entries across 109 versions & 1 rubygems