[CHEF-3662] fix spec for ruby 1.8.7
[CHEF-3662] fix spec for ruby 1.8.7

Can only expect exception class, not an instance.

jonlives/chef,askl56/chef,webframp/chef,lamont-granquist/chef,onlyhavecans/chef,custora/chef,skmichaelson/chef,erkolson/chef,nicklv/chef,karthikrev/chef,jonlives/chef,ranjib/chef,mio-g/chef,kamaradclimber/chef,ckaushik/chef,MichaelPereira/chef,ktpan/chef-play,higanworks/chef,criteo-forks/chef,mikefaille/chef,jonlives/chef,jblaine/chef,grubernaut/chef,jblaine/chef,natewalck/chef,jimmymccrory/chef,cachamber/chef,DeWaRs1206/chef,gene1wood/chef,adamleff/chef,brettcave/chef,evan2645/chef,cachamber/chef,ShadySQL/chef-merged,chef/chef,ekometti/chef,grubernaut/chef,gsaslis/chef,criteo-forks/chef,sideci-sample/sideci-sample-chef,askl56/chef,adamleff/chef,faspl/chef,youngjl1/chef,oclaussen/chef,jk47/chef,ShadySQL/chef-merged,nguyen-tien-mulodo/chef,kamaradclimber/chef,nathwill/chef,mattray/chef,martinb3/chef,ckaushik/chef,ktpan/chef-play,cgvarela/chef,sometimesfood/chef,permyakovsv/chef,zshuo/chef,tbunnyman/chef,polamjag/chef,ccsplit/chef,mikefaille/chef,nsdavidson/chef,sanditiffin/chef,aaron-lane/chef,custora/chef,3dinfluence/chef,Tensibai/chef,sanditiffin/chef,someara/chef,ccsplit/chef,swalberg/chef,ccsplit/chef,OpSitters/chef,strangelittlemonkey/chef,martinisoft/chef,adamleff/chef,criteo-forks/chef,EasonYi/chef,mal/chef,kaznishi/chef,jblaine/chef,MichaelPereira/chef,sekrett/chef,custora/chef,brettcave/chef,BackSlasher/chef,nathwill/chef,Ppjet6/chef,mikedodge04/chef,jagdeesh109/chef,EasonYi/chef,askl56/chef,Ppjet6/chef,natewalck/chef,karthikrev/chef,karthikrev/chef,mattray/chef,legal90/chef,robmul/chef,b002368/chef-repo,sekrett/chef,coderanger/chef,tbunnyman/chef,docwhat/chef,kamaradclimber/chef,tomdoherty/chef,jblaine/chef,criteo-forks/chef,evan2645/chef,polamjag/chef,GabKlein/chef-merged,GabKlein/chef-merged,tbriggs-curse/chef,jkerry/chef,mikedodge04/chef,mikedodge04/chef,martinisoft/chef,robmul/chef,mwrock/chef,mattray/chef,jkerry/chef,Igorshp/chef,mio-g/chef,ekometti/chef,nsdavidson/chef,sysbot/chef,MsysTechnologiesllc/chef,martinb3/chef,AndyBoucher/Chef-Testing,acaiafa/chef,docwhat/chef,patcon/chef,danielsdeleo/seth,someara/chef,nvwls/chef,skmichaelson/chef,MsysTechnologiesllc/chef,nguyen-tien-mulodo/chef,ranjib/chef,juliandunn/chef,nellshamrell/chef,smurawski/chef,bahamas10/chef,Tensibai/chef,baberthal/chef,baberthal/chef,BackSlasher/chef,patcon/chef,kaznishi/chef,docwhat/chef,h4ck3rm1k3/chef,grubernaut/chef,zuazo-forks/chef,lamont-granquist/chef,strangelittlemonkey/chef,pburkholder/chef,zuazo-forks/chef,skmichaelson/chef,grubernaut/chef,mal/chef,GabKlein/chef-merged,cgvarela/chef,antonifs/chef,h4ck3rm1k3/chef,jmhardison/chef,acaiafa/chef,polamjag/chef,jkerry/chef,paulmooring/chef,acaiafa/chef,sometimesfood/chef,tas50/chef-1,AndyBoucher/Chef-Testing,sometimesfood/chef,adamleff/chef,aaron-lane/chef,3dinfluence/chef,Ppjet6/chef,EasonYi/chef,paulmooring/chef,pburkholder/chef,renanvicente/chef,coderanger/chef,kaznishi/chef,renanvicente/chef,mio-g/chef,mikedodge04/chef,jblaine/chef,nalingarg2/chef-1,coderanger/chef,cmluciano/chef,polamjag/chef,pburkholder/chef,jimmymccrory/chef,cgvarela/chef,martinisoft/chef,zshuo/chef,mikefaille/chef,sanditiffin/chef,jordane/chef,malisettirammurthy/chef,onlyhavecans/chef,webframp/chef,ccope/chef,antonifs/chef,youngjl1/chef,josb/chef,youngjl1/chef,jk47/chef,patcon/chef,jonlives/chef,nguyen-tien-mulodo/chef,nellshamrell/chef,baberthal/chef,mattray/chef,jaymzh/chef,jk47/chef,bahamas10/chef,nguyen-tien-mulodo/chef,nathwill/chef,antonifs/chef,tbriggs-curse/chef,malisettirammurthy/chef,AndyBoucher/Chef-Testing,josb/chef,legal90/chef,tas50/chef-1,jaymzh/chef,DeWaRs1206/chef,mwrock/chef,lamont-granquist/chef,SUSE-Cloud/chef,lamont-granquist/chef,youngjl1/chef,zuazo-forks/chef,ekometti/chef,cgvarela/chef,webframp/chef,juliandunn/chef,joemiller/chef,jaymzh/chef,karthikrev/chef,SUSE-Cloud/chef,jkerry/chef,ChaosCloud/chef,jaymzh/chef,danielsdeleo/seth,sanditiffin/chef,nalingarg2/chef-1,EasonYi/chef,faspl/chef,onlyhavecans/chef,legal90/chef,ccsplit/chef,skmichaelson/chef,BackSlasher/chef,nsdavidson/chef,jagdeesh109/chef,chef/chef,OpSitters/chef,mal/chef,ShadySQL/chef-merged,sometimesfood/chef,ekometti/chef,faspl/chef,Kast0rTr0y/chef,jagdeesh109/chef,aaron-lane/chef,strangelittlemonkey/chef,h4ck3rm1k3/chef,ShadySQL/chef-merged,pburkholder/chef,tbunnyman/chef,andrewpsp/chef,ducthanh/chef,Ppjet6/chef,josb/chef,h4ck3rm1k3/chef,jmhardison/chef,AndyBoucher/Chef-Testing,erkolson/chef,gsaslis/chef,tbriggs-curse/chef,tbunnyman/chef,gsaslis/chef,nellshamrell/chef,malisettirammurthy/chef,brettcave/chef,kaznishi/chef,smurawski/chef,mikefaille/chef,nvwls/chef,aaron-lane/chef,nicklv/chef,AndyBoucher/Chef-Testing,mikefaille/chef,sometimesfood/chef,gsaslis/chef,jagdeesh109/chef,nvwls/chef,martinb3/chef,evan2645/chef,mwrock/chef,faspl/chef,ktpan/chef-play,AndyBoucher/Chef-Testing,tbriggs-curse/chef,criteo-forks/chef,circleback/chef,robmul/chef,antonifs/chef,paulmooring/chef,andrewpsp/chef,nalingarg2/chef-1,ChaosCloud/chef,Kast0rTr0y/chef,renanvicente/chef,adamleff/chef,nicklv/chef,jmhardison/chef,gene1wood/chef,nalingarg2/chef-1,sysbot/chef,paulmooring/chef,lamont-granquist/chef,natewalck/chef,SUSE-Cloud/chef,ShadySQL/chef-merged,nvwls/chef,grubernaut/chef,bahamas10/chef,jkerry/chef,lamont-granquist/chef,MsysTechnologiesllc/chef,ckaushik/chef,acaiafa/chef,mal/chef,ranjib/chef,mio-g/chef,higanworks/chef,nathwill/chef,cmluciano/chef,jagdeesh109/chef,someara/chef,gsaslis/chef,zshuo/chef,tbunnyman/chef,faspl/chef,onlyhavecans/chef,oclaussen/chef,sysbot/chef,ktpan/chef-play,grubernaut/chef,zshuo/chef,gene1wood/chef,ranjib/chef,zuazo-forks/chef,malisettirammurthy/chef,sanditiffin/chef,someara/chef,sempervictus/chef,sideci-sample/sideci-sample-chef,cachamber/chef,Igorshp/chef,erkolson/chef,3dinfluence/chef,ccope/chef,martinisoft/chef,BackSlasher/chef,b002368/chef-repo,danielsdeleo/seth,renanvicente/chef,nellshamrell/chef,permyakovsv/chef,h4ck3rm1k3/chef,nicklv/chef,ducthanh/chef,onlyhavecans/chef,joemiller/chef,ktpan/chef-play,MichaelPereira/chef,mal/chef,Kast0rTr0y/chef,b002368/chef-repo,jimmymccrory/chef,webframp/chef,permyakovsv/chef,ranjib/chef,bahamas10/chef,sekrett/chef,jimmymccrory/chef,kaznishi/chef,higanworks/chef,ccope/chef,sysbot/chef,custora/chef,Igorshp/chef,nathwill/chef,ducthanh/chef,MichaelPereira/chef,higanworks/chef,3dinfluence/chef,danielsdeleo/seth,joemiller/chef,aaron-lane/chef,Tensibai/chef,sempervictus/chef,erkolson/chef,andrewpsp/chef,josb/chef,askl56/chef,pburkholder/chef,OpSitters/chef,smurawski/chef,docwhat/chef,ccope/chef,tomdoherty/chef,robmul/chef,Igorshp/chef,onlyhavecans/chef,malisettirammurthy/chef,tas50/chef-1,circleback/chef,3dinfluence/chef,bahamas10/chef,Igorshp/chef,nsdavidson/chef,BackSlasher/chef,Kast0rTr0y/chef,clintoncwolfe/chef,renanvicente/chef,ChaosCloud/chef,youngjl1/chef,sideci-sample/sideci-sample-chef,legal90/chef,tomdoherty/chef,strangelittlemonkey/chef,criteo-forks/chef,adamleff/chef,patcon/chef,smurawski/chef,oclaussen/chef,docwhat/chef,MichaelPereira/chef,webframp/chef,docwhat/chef,skmichaelson/chef,cgvarela/chef,bahamas10/chef,jk47/chef,Tensibai/chef,tas50/chef-1,jordane/chef,jmhardison/chef,ranjib/chef,evan2645/chef,tbriggs-curse/chef,sometimesfood/chef,clintoncwolfe/chef,circleback/chef,natewalck/chef,tomdoherty/chef,clintoncwolfe/chef,sempervictus/chef,pburkholder/chef,antonifs/chef,OpSitters/chef,SUSE-Cloud/chef,andrewpsp/chef,josb/chef,juliandunn/chef,natewalck/chef,nguyen-tien-mulodo/chef,evan2645/chef,jmhardison/chef,webframp/chef,swalberg/chef,sekrett/chef,MichaelPereira/chef,nsdavidson/chef,circleback/chef,robmul/chef,malisettirammurthy/chef,nguyen-tien-mulodo/chef,ccsplit/chef,circleback/chef,someara/chef,martinb3/chef,oclaussen/chef,Ppjet6/chef,joemiller/chef,cgvarela/chef,nalingarg2/chef-1,tbriggs-curse/chef,swalberg/chef,jkerry/chef,juliandunn/chef,jordane/chef,acaiafa/chef,ChaosCloud/chef,brettcave/chef,jblaine/chef,oclaussen/chef,karthikrev/chef,Igorshp/chef,brettcave/chef,legal90/chef,DeWaRs1206/chef,zshuo/chef,ccope/chef,DeWaRs1206/chef,skmichaelson/chef,coderanger/chef,tomdoherty/chef,custora/chef,MsysTechnologiesllc/chef,askl56/chef,joemiller/chef,Ppjet6/chef,chef/chef,zshuo/chef,jordane/chef,martinb3/chef,nicklv/chef,nellshamrell/chef,ducthanh/chef,jimmymccrory/chef,higanworks/chef,cmluciano/chef,baberthal/chef,chef/chef,jonlives/chef,strangelittlemonkey/chef,cmluciano/chef,ccsplit/chef,swalberg/chef,jk47/chef,natewalck/chef,DeWaRs1206/chef,sempervictus/chef,ckaushik/chef,BackSlasher/chef,permyakovsv/chef,aaron-lane/chef,gsaslis/chef,OpSitters/chef,sekrett/chef,polamjag/chef,patcon/chef,cachamber/chef,SUSE-Cloud/chef,joemiller/chef,sekrett/chef,josb/chef,karthikrev/chef,sanditiffin/chef,paulmooring/chef,cachamber/chef,mal/chef,sideci-sample/sideci-sample-chef,ekometti/chef,legal90/chef,robmul/chef,kaznishi/chef,strangelittlemonkey/chef,jonlives/chef,erkolson/chef,youngjl1/chef,nvwls/chef,andrewpsp/chef,clintoncwolfe/chef,evan2645/chef,jagdeesh109/chef,ckaushik/chef,jk47/chef,permyakovsv/chef,b002368/chef-repo,permyakovsv/chef,mikedodge04/chef,ducthanh/chef,mikedodge04/chef,smurawski/chef,polamjag/chef,SUSE-Cloud/chef,renanvicente/chef,askl56/chef,3dinfluence/chef,kamaradclimber/chef,brettcave/chef,danielsdeleo/seth,mio-g/chef,mio-g/chef,circleback/chef,someara/chef,faspl/chef,nvwls/chef,swalberg/chef,nalingarg2/chef-1,paulmooring/chef,tbunnyman/chef,smurawski/chef,EasonYi/chef,DeWaRs1206/chef,jmhardison/chef,swalberg/chef,sysbot/chef,gene1wood/chef,ChaosCloud/chef,GabKlein/chef-merged,nathwill/chef,sideci-sample/sideci-sample-chef,patcon/chef,juliandunn/chef,mattray/chef,zuazo-forks/chef,erkolson/chef,acaiafa/chef,zuazo-forks/chef,custora/chef,sempervictus/chef,oclaussen/chef,Kast0rTr0y/chef,clintoncwolfe/chef,ducthanh/chef,h4ck3rm1k3/chef,nellshamrell/chef,martinb3/chef,b002368/chef-repo,b002368/chef-repo,ktpan/chef-play,ChaosCloud/chef,nicklv/chef,mikefaille/chef,nsdavidson/chef,sempervictus/chef,andrewpsp/chef,cachamber/chef,ekometti/chef,cmluciano/chef,ckaushik/chef,Kast0rTr0y/chef,martinisoft/chef,clintoncwolfe/chef,jordane/chef,OpSitters/chef,EasonYi/chef,baberthal/chef,Tensibai/chef,antonifs/chef,jimmymccrory/chef,mwrock/chef,baberthal/chef