ぼざクリタグ広場 https://hub.nizika.monster
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

16 lines
403 B

  1. module TestRecords
  2. def create_member_user!
  3. User.create!(name: 'spec user',
  4. inheritance_code: SecureRandom.hex(16),
  5. role: 'member',
  6. banned: false)
  7. end
  8. def create_admin_user!
  9. User.create!(name: 'spec admin',
  10. inheritance_code: SecureRandom.hex(16),
  11. role: 'admin',
  12. banned: false)
  13. end
  14. end