fix spec when accout.root_account is nil
fix spec when accout.root_account is nil

Change-Id: Iafa59ef616d8ea6794d02241b5e9615e55cee340

tgroshon/canvas-lms,wrdsb/canvas-lms,juoni/canvas-lms,parbros/red-innovadores-lms,Rvor/canvas-lms,usmschuck/canvas,SwinburneOnline/canvas-lms,samuels410/greatlakes-lms,whalejasmine/canvas-lms,parbros/red-innovadores-lms,instructure/canvas-lms,narigone/canvas,AndranikMarkosyan/lms,fronteerio/canvas-lms,wrdsb/canvas-lms,sli7246/canvas_branch,Unow/canvas-lms,roxolan/canvas-lms,roxolan/canvas-lms,sfu/canvas-lms,landonwilkins/canvas-lms,Unow/ins,sdeleon28/canvas-lms,instructure/canvas-lms,redconfetti/canvas-lms,tgroshon/canvas-lms,venturehive/canvas-lms,samuels410/greatlakes-lms,HotChalk/canvas-lms,va7map/canvas-lms,rup/Tarrax,greyhwndz/canvas-lms,HotChalk/canvas-lms,usmschuck/canvas,va7map/canvas-lms,Jyaasa/canvas-lms,tgroshon/canvas-lms,efrj/canvas-lms,greyhwndz/canvas-lms,ankithbti/canvas_lms,greyhwndz/canvas-lms,gbleydon/canvas-lms,arrivu/arrivu-lms,Rvor/canvas-lms,rup/Tarrax,venturehive/canvas-lms,instructure/canvas-lms,dgynn/canvas-lms,shidao-fm/canvas-lms,landonwilkins/canvas-lms,utkarshx/canvas-lms,arrivu/arrivu-lms,antoniuslin/canvas-lms,arrivu/qibla-ecampus,redconfetti/canvas-lms,skmezanul/canvas-lms,AndranikMarkosyan/lms,sfu/canvas-lms,AndranikMarkosyan/lms,leftplusrightllc/canvas-lms,snehakachroo1/LSI_replica,leftplusrightllc/canvas-lms,loganrun/pincan,wimemx/Canvas,arrivu/qibla-ecampus,nditech/red-innovadores-lms,SwinburneOnline/canvas-lms,shidao-fm/canvas-lms,kyroskoh/canvas-lms,shidao-fm/canvas-lms,efrj/canvas-lms,arrivu/jigsaw-lms,nditech/red-innovadores-lms,instructure/canvas-lms,Unow/canvas-lms,wye0220/shindig-canvas,wye0220/shindig-canvas,sfu/canvas-lms,juoni/canvas-lms,parbros/red-innovadores-lms,venturehive/canvas-lms,antoniuslin/canvas-lms,utkarshx/canvas-lms,antoniuslin/canvas-lms,usmschuck/canvas,tgroshon/canvas-lms,kyroskoh/canvas-lms,kyroskoh/canvas-lms,jay3126/canvas-lms,rup/Tarrax,fronteerio/canvas-lms,loganrun/pincan,leftplusrightllc/canvas-lms,HotChalk/canvas-lms,wye0220/shindig-canvas,roxolan/canvas-lms,skmezanul/canvas-lms,Rvor/canvas-lms,efrj/canvas-lms,SwinburneOnline/canvas-lms,narigone/canvas,arrivu/arrivu-lms,nditech/red-innovadores-lms,SwinburneOnline/canvas-lms,kyroskoh/canvas-lms,samuels410/greatlakes-lms,snehakachroo1/LSI_replica,jay3126/canvas-lms,sdeleon28/canvas-lms,fronteerio/canvas-lms,fronteerio/canvas-lms,roxolan/canvas-lms,AndranikMarkosyan/lms,Jyaasa/canvas-lms,matematikk-mooc/canvas-lms,arrivu/hiring-site,wrdsb/canvas-lms,grahamb/canvas-lms,matematikk-mooc/canvas-lms,whalejasmine/canvas-lms,whalejasmine/canvas-lms,eCNAP/CANVAS,icelab/canvas,wrdsb/canvas-lms,juoni/canvas-lms,Jyaasa/canvas-lms,jay3126/canvas-lms,grahamb/canvas-lms,wimemx/Canvas,juoni/canvas-lms,ShreniiNepal/shrenii_lmp,skmezanul/canvas-lms,landonwilkins/canvas-lms,djbender/canvas-lms,va7map/canvas-lms,shidao-fm/canvas-lms,landonwilkins/canvas-lms,ankithbti/canvas_lms,instructure/canvas-lms,dgynn/canvas-lms,dgynn/canvas-lms,HotChalk/canvas-lms,sli7246/canvas_branch,Unow/ins,sdeleon28/canvas-lms,Unow/ins,arrivu/qibla-ecampus,snehakachroo1/LSI_replica,usmschuck/canvas,arrivu/hoodemo,narigone/canvas,whalejasmine/canvas-lms,gbleydon/canvas-lms,sfu/canvas-lms,utkarshx/canvas-lms,dgynn/canvas-lms,nditech/red-innovadores-lms,ankithbti/canvas_lms,eCNAP/CANVAS,grahamb/canvas-lms,efrj/canvas-lms,merichar/canvas-lms,wimemx/Canvas,matematikk-mooc/canvas-lms,sfu/canvas-lms,ShreniiNepal/shrenii_lmp,narigone/canvas,arrivu/hiring-site,eCNAP/CANVAS,antoniuslin/canvas-lms,arrivu/hoodemo,redconfetti/canvas-lms,ShreniiNepal/shrenii_lmp,venturehive/canvas-lms,grahamb/canvas-lms,loganrun/pincan,redconfetti/canvas-lms,merichar/canvas-lms,gbleydon/canvas-lms,utkarshx/canvas-lms,Jyaasa/canvas-lms,samuels410/greatlakes-lms,matematikk-mooc/canvas-lms,sfu/canvas-lms,sfu/canvas-lms,djbender/canvas-lms,arrivu/hiring-site,sdeleon28/canvas-lms,arrivu/jigsaw-lms,icelab/canvas,djbender/canvas-lms,arrivu/jigsaw-lms,arrivu/hoodemo,eCNAP/CANVAS,snehakachroo1/LSI_replica,ShreniiNepal/shrenii_lmp,greyhwndz/canvas-lms,grahamb/canvas-lms,djbender/canvas-lms,Rvor/canvas-lms,instructure/canvas-lms,instructure/canvas-lms,icelab/canvas,jay3126/canvas-lms,skmezanul/canvas-lms,leftplusrightllc/canvas-lms,Unow/canvas-lms,va7map/canvas-lms,merichar/canvas-lms,sli7246/canvas_branch