Sha256: ffcf91311cf88a16deffcd192aa76168216bbdd06e9e8bf69204cdfd7fefe619

Contents?: true

Size: 254 Bytes

Versions: 2

Compression:

Stored size: 254 Bytes

Contents

FactoryGirl.define do
  factory :role, class: Ddr::Auth::Roles::Role do
    association :agent, factory: :person, strategy: :build
    scope Ddr::Vocab::Scopes.Resource

    factory :curator, class: Ddr::Auth::Roles::Curator do
      
    end

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ddr-models-1.13.1 spec/factories/role_factories.rb~
ddr-models-1.13.0 spec/factories/role_factories.rb~