Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # reload!
- # Pursuits::SendNotification.call({
- # sender: Employer.find(134),
- # target: Prospect.find(2073),
- # message: 'asad13213aasdf'
- # })
- =begin
- User.where(email: '4laconic@gmail.com').destroy_all
- @user = User.create(
- first_name: 'asdasd',
- last_name: 'asdasdsad',
- email: '4laconic@gmail.com',
- password: 12345678,
- password_confirmation: 12345678,
- role: 'hiring_manager',
- registration_gateway: 'plain'
- )
- @user.build_employer({
- site: 'asds',
- career_level: 'asdasd',
- job_category_id: 1,
- job_function_id: 2511,
- creation_step: 2
- })
- @user.save
- =end
- User.where(email: 'iwsyhgia@gmail.com').destroy_all
- @job_seeker = User.new(
- first_name: 'asdasd',
- last_name: 'asdasdsad',
- email: 'iwsyhgia@gmail.com',
- password: 12345678,
- password_confirmation: 12345678,
- role: 'job_seeker',
- registration_gateway: 'plain',
- job_seeker_attributes: {
- job_seeker_status: '123213',
- title: '1231312',
- summary: '13123123asdas',
- career_status: '12313dasdas',
- is_available: true,
- is_imported: false,
- career_level: 'asdsadasd',
- creation_step: 3
- }
- )
- @job_seeker.save!
- #Prospect.invite_job_seeker!({ email: Prospect.find(2073).email }, Employer.find(134).user)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement