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