spec: rails3 models/pseudonym_spec
spec: rails3 models/pseudonym_spec

Pseudonym#infer_defaults initializes account in a
before_validation callback.

Change-Id: If17ed2cc51bc285d1efae588d8130d5329b8f203
Reviewed-on: https://gerrit.instructure.com/29702
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Reviewed-by: Derek DeVries <ff87a0776152510efd53bb1f4ea089dbbc90e730@instructure.com>
Product-Review: Jon Willesen <eb5ce5e6a76c243326fecfa94534101600f87bd9@instructure.com>
QA-Review: Jon Willesen <eb5ce5e6a76c243326fecfa94534101600f87bd9@instructure.com>

sfu/canvas-lms,juoni/canvas-lms,snehakachroo1/LSI_replica,antoniuslin/canvas-lms,redconfetti/canvas-lms,shidao-fm/canvas-lms,wye0220/shindig-canvas,arrivu/hoodemo,redconfetti/canvas-lms,SwinburneOnline/canvas-lms,usmschuck/canvas,arrivu/hoodemo,whalejasmine/canvas-lms,whalejasmine/canvas-lms,va7map/canvas-lms,arrivu/arrivu-lms,SwinburneOnline/canvas-lms,antoniuslin/canvas-lms,kyroskoh/canvas-lms,skmezanul/canvas-lms,HotChalk/canvas-lms,SwinburneOnline/canvas-lms,sfu/canvas-lms,ShreniiNepal/shrenii_lmp,juoni/canvas-lms,eCNAP/CANVAS,dgynn/canvas-lms,grahamb/canvas-lms,Rvor/canvas-lms,AndranikMarkosyan/lms,efrj/canvas-lms,va7map/canvas-lms,utkarshx/canvas-lms,leftplusrightllc/canvas-lms,sfu/canvas-lms,jay3126/canvas-lms,AndranikMarkosyan/lms,grahamb/canvas-lms,roxolan/canvas-lms,grahamb/canvas-lms,eCNAP/CANVAS,grahamb/canvas-lms,fronteerio/canvas-lms,utkarshx/canvas-lms,instructure/canvas-lms,Unow/canvas-lms,HotChalk/canvas-lms,ShreniiNepal/shrenii_lmp,arrivu/arrivu-lms,efrj/canvas-lms,Jyaasa/canvas-lms,gbleydon/canvas-lms,sfu/canvas-lms,wrdsb/canvas-lms,fronteerio/canvas-lms,instructure/canvas-lms,narigone/canvas,usmschuck/canvas,va7map/canvas-lms,instructure/canvas-lms,roxolan/canvas-lms,sdeleon28/canvas-lms,tgroshon/canvas-lms,snehakachroo1/LSI_replica,roxolan/canvas-lms,samuels410/greatlakes-lms,narigone/canvas,wye0220/shindig-canvas,jay3126/canvas-lms,jay3126/canvas-lms,Unow/canvas-lms,usmschuck/canvas,samuels410/greatlakes-lms,wrdsb/canvas-lms,leftplusrightllc/canvas-lms,matematikk-mooc/canvas-lms,antoniuslin/canvas-lms,whalejasmine/canvas-lms,utkarshx/canvas-lms,Rvor/canvas-lms,venturehive/canvas-lms,samuels410/greatlakes-lms,roxolan/canvas-lms,shidao-fm/canvas-lms,greyhwndz/canvas-lms,instructure/canvas-lms,gbleydon/canvas-lms,arrivu/hoodemo,sdeleon28/canvas-lms,wrdsb/canvas-lms,antoniuslin/canvas-lms,tgroshon/canvas-lms,usmschuck/canvas,sdeleon28/canvas-lms,HotChalk/canvas-lms,gbleydon/canvas-lms,djbender/canvas-lms,efrj/canvas-lms,instructure/canvas-lms,matematikk-mooc/canvas-lms,djbender/canvas-lms,Rvor/canvas-lms,greyhwndz/canvas-lms,narigone/canvas,dgynn/canvas-lms,matematikk-mooc/canvas-lms,shidao-fm/canvas-lms,arrivu/arrivu-lms,leftplusrightllc/canvas-lms,skmezanul/canvas-lms,instructure/canvas-lms,venturehive/canvas-lms,eCNAP/CANVAS,greyhwndz/canvas-lms,shidao-fm/canvas-lms,Jyaasa/canvas-lms,samuels410/greatlakes-lms,snehakachroo1/LSI_replica,Unow/canvas-lms,redconfetti/canvas-lms,djbender/canvas-lms,venturehive/canvas-lms,narigone/canvas,Jyaasa/canvas-lms,ShreniiNepal/shrenii_lmp,sfu/canvas-lms,dgynn/canvas-lms,venturehive/canvas-lms,skmezanul/canvas-lms,grahamb/canvas-lms,juoni/canvas-lms,wrdsb/canvas-lms,matematikk-mooc/canvas-lms,efrj/canvas-lms,tgroshon/canvas-lms,leftplusrightllc/canvas-lms,kyroskoh/canvas-lms,kyroskoh/canvas-lms,greyhwndz/canvas-lms,sdeleon28/canvas-lms,fronteerio/canvas-lms,sfu/canvas-lms,redconfetti/canvas-lms,wye0220/shindig-canvas,Jyaasa/canvas-lms,fronteerio/canvas-lms,instructure/canvas-lms,utkarshx/canvas-lms,AndranikMarkosyan/lms,dgynn/canvas-lms,ShreniiNepal/shrenii_lmp,snehakachroo1/LSI_replica,jay3126/canvas-lms,va7map/canvas-lms,whalejasmine/canvas-lms,SwinburneOnline/canvas-lms,HotChalk/canvas-lms,AndranikMarkosyan/lms,skmezanul/canvas-lms,eCNAP/CANVAS,kyroskoh/canvas-lms,Rvor/canvas-lms,sfu/canvas-lms,tgroshon/canvas-lms,djbender/canvas-lms,juoni/canvas-lms