Sha256: 3688d906ae9ef9dea3c51d5e8b173aa73e4ac44416d07afd589c5fce19d639cf
Contents?: true
Size: 477 Bytes
Versions: 118
Compression:
Stored size: 477 Bytes
Contents
# frozen_string_literal: true FactoryBot.define do factory :role, class: "Renalware::Role" do initialize_with { Renalware::Role.find_or_create_by(name: name) } name { :super_admin } hidden { false } trait :super_admin do name { :super_admin } hidden { true } end trait :admin do name { :admin } end trait :clinical do name { :clinical } end trait :read_only do name { :read_only } end end end
Version data entries
118 entries across 118 versions & 1 rubygems