From 3c45527a0458b3ed2b21eb6861fa4144f744a195 Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Mon, 19 Sep 2016 12:59:12 -0500 Subject: [PATCH] add in manager role --- app/helpers/application_helper.rb | 1 + test/fixtures/users.yml | 6 ++++++ 2 files changed, 7 insertions(+) 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