Add more attributes to candidate - completes: #100
This commit is contained in:
@ -27,6 +27,7 @@ module Admin
|
||||
name: 'new name',
|
||||
email: 'test@mailinator.com',
|
||||
experience: '0-3',
|
||||
position: 'full-time',
|
||||
project: 'client project',
|
||||
quiz_id: quizzes(:fed).id
|
||||
} }
|
||||
|
26
test/fixtures/candidates.yml
vendored
26
test/fixtures/candidates.yml
vendored
@ -5,6 +5,8 @@ roy: # Roy should have started, and is ready for a reminder
|
||||
email: <%= CryptSerializer.dump 'roy.cruz@mailinator.com' %>
|
||||
experience: 0-3
|
||||
project: Client/Project
|
||||
position: 'full-time'
|
||||
skill_needs: 'css/html'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: false
|
||||
@ -16,6 +18,8 @@ gillian: # Gillian has not begun the test
|
||||
email: <%= CryptSerializer.dump 'gillian.anderson@mailinator.com' %>
|
||||
experience: 4-6
|
||||
project: Client/Project
|
||||
position: 'full-time'
|
||||
skill_needs: 'css/html'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: false
|
||||
@ -27,6 +31,8 @@ martha: # Martha has not begun the test
|
||||
email: <%= CryptSerializer.dump 'martha.watts@mailinator.com' %>
|
||||
experience: 4-6
|
||||
project: Client/Project
|
||||
position: 'contract'
|
||||
skill_needs: 'angular'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: false
|
||||
@ -38,6 +44,8 @@ dawn: # Dawn has completed, and been reminded, but not submitted the test
|
||||
email: <%= CryptSerializer.dump 'dawn.hopkins@mailinator.com' %>
|
||||
experience: 0-2
|
||||
project: Client/Project
|
||||
position: 'contract'
|
||||
skill_needs: 'javascript'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: false
|
||||
@ -49,6 +57,8 @@ peggy: # Peggy has completed, and been reminded, but not submitted the test
|
||||
email: <%= CryptSerializer.dump 'peggy.blisters@mailinator.com' %>
|
||||
experience: 0-2
|
||||
project: Client/Project
|
||||
position: 'contract'
|
||||
skill_needs: 'css/html'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: false
|
||||
@ -60,6 +70,8 @@ richard: # Richard has completed AND submitted the test
|
||||
email: <%= CryptSerializer.dump 'richard.burns@mailinator.com' %>
|
||||
experience: 15+
|
||||
project: Client/Project
|
||||
position: 'full-time'
|
||||
skill_needs: 'css/html'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: true
|
||||
@ -73,6 +85,8 @@ juan: # Juan has chosen "finish later" for live coders
|
||||
email: <%= CryptSerializer.dump 'juan.campbell@mailinator.com' %>
|
||||
experience: 15+
|
||||
project: Client/Project
|
||||
position: 'full-time'
|
||||
skill_needs: 'css/html'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: false
|
||||
@ -84,6 +98,8 @@ stacy: # Stacy has completed AND submitted the test
|
||||
email: <%= CryptSerializer.dump 'stacy.scott@mailinator.com' %>
|
||||
experience: 7-9
|
||||
project: Client/Project
|
||||
position: 'full-time'
|
||||
skill_needs: 'css/html'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: true
|
||||
@ -97,6 +113,8 @@ henry: # Henry has completed AND submitted the test
|
||||
email: <%= CryptSerializer.dump 'henry.butler@mailinator.com' %>
|
||||
experience: 4-6
|
||||
project: Client/Project
|
||||
position: 'full-time'
|
||||
skill_needs: 'css/html'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: true
|
||||
@ -109,6 +127,8 @@ wade: # Wade has completed AND submitted the test
|
||||
email: <%= CryptSerializer.dump 'wade.armstrong@mailinator.com' %>
|
||||
experience: 0-3
|
||||
project: Client/Project
|
||||
position: 'full-time'
|
||||
skill_needs: 'css/html'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: true
|
||||
@ -121,6 +141,8 @@ jorge: # Jorge has completed AND submitted the test
|
||||
email: <%= CryptSerializer.dump 'jorge.holmes@mailinator.com' %>
|
||||
experience: 0-3
|
||||
project: Client/Project
|
||||
position: 'full-time'
|
||||
skill_needs: 'css/html'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: true
|
||||
@ -133,6 +155,8 @@ elsie: # Elsie has completed AND submitted the test
|
||||
email: <%= CryptSerializer.dump 'elsie.lowe@mailinator.com' %>
|
||||
experience: 0-3
|
||||
project: Client/Project
|
||||
position: 'full-time'
|
||||
skill_needs: 'css/html'
|
||||
recruiter: recruiter
|
||||
quiz: fed
|
||||
completed: true
|
||||
@ -145,6 +169,8 @@ gustov: # Gustov is NOT for FED
|
||||
email: <%= CryptSerializer.dump 'gustov@mailinator.com' %>
|
||||
experience: 0-3
|
||||
project: Client/Project
|
||||
position: 'full-time'
|
||||
skill_needs: 'C#, SQL'
|
||||
recruiter: recruiter
|
||||
quiz: admin
|
||||
completed: false
|
||||
|
@ -18,6 +18,7 @@ class CandidateTest < ActiveSupport::TestCase
|
||||
email: email,
|
||||
experience: '0-3',
|
||||
project: 'Client',
|
||||
position: 'full-time',
|
||||
recruiter_id: users(:recruiter).id,
|
||||
quiz_id: quizzes(:fed).id)
|
||||
|
||||
|
Reference in New Issue
Block a user