Sha256: 255bf35db559cf356847de6f825c5b57bf8cfff6ff38cff1cb4e6a0a3a5d1edc
Contents?: true
Size: 446 Bytes
Versions: 15
Compression:
Stored size: 446 Bytes
Contents
module SeedUserRoles def self.seed Role.public || Factory( :role_public ) Role.learner || Factory( :role_learner ) Role.user_admin || Factory(:role_user_admin) Role.course_admin || Factory(:role_course_admin) Role.product_admin || Factory(:role_product_admin) Role.tech_support || Factory(:role_tech_support) Role.scitent_admin || Factory(:role_scitent_admin) end def self.clean Role.destroy_all end end
Version data entries
15 entries across 15 versions & 4 rubygems