Sha256: ff8aa39e3f52a352a448400f3b72691bcf410e0e9fa8383aba8ab8dd2116daa2
Contents?: true
Size: 449 Bytes
Versions: 40
Compression:
Stored size: 449 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
40 entries across 40 versions & 1 rubygems