Sha256: ea2cbe9b0d5f837bf969e15184fc14b336403364a31e0a0bf8c36420d518e820

Contents?: true

Size: 146 Bytes

Versions: 17

Compression:

Stored size: 146 Bytes

Contents

FactoryBot.define do
  factory :role, class: Spotlight::Role do
    resource { FactoryBot.build(:exhibit) }
    role 'curator'
    user
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
blacklight-spotlight-2.2.0 spec/factories/roles.rb
blacklight-spotlight-2.1.0 spec/factories/roles.rb
blacklight-spotlight-2.0.2 spec/factories/roles.rb
blacklight-spotlight-2.0.1 spec/factories/roles.rb
blacklight-spotlight-2.0.0 spec/factories/roles.rb
blacklight-spotlight-2.0.0.rc6 spec/factories/roles.rb
blacklight-spotlight-2.0.0.rc5 spec/factories/roles.rb
blacklight-spotlight-2.0.0.rc4 spec/factories/roles.rb
blacklight-spotlight-2.0.0.rc3 spec/factories/roles.rb
blacklight-spotlight-2.0.0.rc2 spec/factories/roles.rb
blacklight-spotlight-2.0.0.rc1 spec/factories/roles.rb
blacklight-spotlight-1.5.1 spec/factories/roles.rb
blacklight-spotlight-1.4.1 spec/factories/roles.rb
blacklight-spotlight-1.4.0 spec/factories/roles.rb
blacklight-spotlight-1.3.0 spec/factories/roles.rb
blacklight-spotlight-1.2.0 spec/factories/roles.rb
blacklight-spotlight-1.1.0 spec/factories/roles.rb