add in manager role
This commit is contained in:
parent
1b612feb16
commit
3c45527a04
@ -19,6 +19,7 @@ module ApplicationHelper
|
||||
options_for_select([
|
||||
%w(Reviewer reviewer),
|
||||
%w(Recruiter recruiter),
|
||||
%w(Manager manager),
|
||||
%w(Admin admin)
|
||||
], disabled: "-", selected: (val.blank? ? '' : val))
|
||||
end
|
||||
|
6
test/fixtures/users.yml
vendored
6
test/fixtures/users.yml
vendored
@ -18,6 +18,12 @@ reviewer2:
|
||||
password_digest: <%= BCrypt::Password.create("password", cost: 4) %>
|
||||
role: reviewer
|
||||
|
||||
manager:
|
||||
name: Mary Manager
|
||||
email: mary.manager@mailinator.com
|
||||
password_digest: <%= BCrypt::Password.create("password", cost: 4) %>
|
||||
role: manager
|
||||
|
||||
admin:
|
||||
name: Alan Admin
|
||||
email: alan.admin@mailinator.com
|
||||
|
Loading…
Reference in New Issue
Block a user