add in manager role

This commit is contained in:
Mark Moser 2016-09-19 12:59:12 -05:00
parent 1b612feb16
commit 3c45527a04
2 changed files with 7 additions and 0 deletions

View File

@ -19,6 +19,7 @@ module ApplicationHelper
options_for_select([ options_for_select([
%w(Reviewer reviewer), %w(Reviewer reviewer),
%w(Recruiter recruiter), %w(Recruiter recruiter),
%w(Manager manager),
%w(Admin admin) %w(Admin admin)
], disabled: "-", selected: (val.blank? ? '' : val)) ], disabled: "-", selected: (val.blank? ? '' : val))
end end

View File

@ -18,6 +18,12 @@ reviewer2:
password_digest: <%= BCrypt::Password.create("password", cost: 4) %> password_digest: <%= BCrypt::Password.create("password", cost: 4) %>
role: reviewer role: reviewer
manager:
name: Mary Manager
email: mary.manager@mailinator.com
password_digest: <%= BCrypt::Password.create("password", cost: 4) %>
role: manager
admin: admin:
name: Alan Admin name: Alan Admin
email: alan.admin@mailinator.com email: alan.admin@mailinator.com