From e009fc33305713c88457652095e90f4cf392fdf0 Mon Sep 17 00:00:00 2001 From: Mark Moser Date: Thu, 4 May 2017 13:01:02 -0500 Subject: [PATCH] We are PDA --- db/seeds.rb | 6 +++--- test/controllers/admin/auth_controller_test.rb | 2 +- test/fixtures/users.yml | 2 +- test/test_helpers/auth_test_helper.rb | 2 +- 4 files changed, 6 insertions(+), 6 deletions(-) diff --git a/db/seeds.rb b/db/seeds.rb index e1186d7..fe97609 100644 --- a/db/seeds.rb +++ b/db/seeds.rb @@ -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' ) diff --git a/test/controllers/admin/auth_controller_test.rb b/test/controllers/admin/auth_controller_test.rb index 477200c..73f5299 100644 --- a/test/controllers/admin/auth_controller_test.rb +++ b/test/controllers/admin/auth_controller_test.rb @@ -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 diff --git a/test/fixtures/users.yml b/test/fixtures/users.yml index 9e55556..ef8fbdf 100644 --- a/test/fixtures/users.yml +++ b/test/fixtures/users.yml @@ -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 diff --git a/test/test_helpers/auth_test_helper.rb b/test/test_helpers/auth_test_helper.rb index 152a7b6..03f6ace 100644 --- a/test/test_helpers/auth_test_helper.rb +++ b/test/test_helpers/auth_test_helper.rb @@ -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