Sha256: 7abf231f8913aed165e65e4d1f877cba3f382d8f17b4f567b69cbb82315bc1e6

Contents?: true

Size: 549 Bytes

Versions: 1

Compression:

Stored size: 549 Bytes

Contents

# coding: utf-8
ScCore::User.create!(
  name: 'テストユーザ',
  email: 'test@sample.com',
  password: 'password',
  user_roles_attributes: [
    {
      role: ScCore::Role.find_by!(identifier: :user),
    },
  ]
)

ScCore::User.create!(
  name: 'クライアント管理者1',
  email: 'admin@client1.com',
  password: 'password',
  user_roles_attributes: [
    {
      role: ScCore::Role.find_by!(identifier: :client_admin),
    },
  ]
)

ScCore::AdminUser.create!(
  name: '管理者',
  email: 'root@sample.com',
  password: 'password'
)

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
sc_core-0.0.7 test/dummy/db/seeds.rb