We are PDA

This commit is contained in:
Mark Moser 2017-05-04 13:01:02 -05:00
parent 47054265c8
commit e009fc3330
4 changed files with 6 additions and 6 deletions

View File

@ -8,13 +8,13 @@
User.create(
name: 'admin',
email: 'pdr.admin@mailinator.com',
email: 'pda.admin@mailinator.com',
password_digest: BCrypt::Password.create("this is the admin password"),
role: 'admin'
)
Quiz.create(
name: 'PDR Standard FED Screening',
name: 'PDA Standard FED Screening',
unit: 'FED',
dept: 'PDR'
dept: 'PDA'
)

View File

@ -47,7 +47,7 @@ module Admin
test "recruiter should auth to dashboard" do
post admin_auth_url, params: { auth:
{ email: 'pdr.recruiter@mailinator.com', password: 'password' } }
{ email: 'pda.recruiter@mailinator.com', password: 'password' } }
assert_redirected_to admin_url
end

View File

@ -2,7 +2,7 @@
recruiter:
name: Sam Recruiter
email: pdr.recruiter@mailinator.com
email: pda.recruiter@mailinator.com
password_digest: <%= BCrypt::Password.create("password", cost: 4) %>
role: recruiter

View File

@ -21,7 +21,7 @@ module AuthTestHelper
def auth_recruiter
post admin_auth_url, params: { auth:
{ email: 'pdr.recruiter@mailinator.com', password: 'password' } }
{ email: 'pda.recruiter@mailinator.com', password: 'password' } }
end
def auth_reviewer