spec: make sure mocking is configured for swagger
spec: make sure mocking is configured for swagger

fixes CNVS-10649

otherwise rspec 2 in rails 3 will complain about changing the
mocking after defining some example groups when running swagger specs
with other specs

Change-Id: I68a690789300f5a0bb620d6d5171432fa678a84e
Reviewed-on: https://gerrit.instructure.com/29070
Tested-by: Jenkins <d95b56ce41a2e1ac4cecdd398defd7414407cc08@instructure.com>
Product-Review: Bryan Madsen <0a3ba1af216659500dd8f41e29f3979f42452870@instructure.com>
QA-Review: Bryan Madsen <0a3ba1af216659500dd8f41e29f3979f42452870@instructure.com>
Reviewed-by: Jacob Fugal <f862f167b85d41b225785c70d70808bc7337c1fe@instructure.com>

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