diff --git a/app/helpers/application_helper.rb b/app/helpers/application_helper.rb index e6138c5..11f160f 100644 --- a/app/helpers/application_helper.rb +++ b/app/helpers/application_helper.rb @@ -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 diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml index 9c007a3..94e21e3 100644 --- a/test/fixtures/users.yml +++ b/test/fixtures/users.yml @@ -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