Refactoring promo spec: pulling coupon code creation out into seperate function
Refactoring promo spec: pulling coupon code creation out into seperate function

berkes/spree,shekibobo/spree,moneyspyder/spree,delphsoft/spree-store-ballchair,bonobos/solidus,JDutil/spree,rbngzlv/spree,sunny2601/spree,softr8/spree,assembledbrands/spree,azclick/spree,hoanghiep90/spree,zamiang/spree,richardnuno/solidus,mleglise/spree,sfcgeorge/spree,Antdesk/karpal-spree,devilcoders/solidus,ahmetabdi/spree,jordan-brough/solidus,bjornlinder/Spree,reinaris/spree,siddharth28/spree,alvinjean/spree,shekibobo/spree,freerunningtech/spree,robodisco/spree,caiqinghua/spree,TrialGuides/spree,caiqinghua/spree,berkes/spree,jordan-brough/solidus,project-eutopia/spree,locomotivapro/spree,ahmetabdi/spree,HealthWave/spree,watg/spree,lsirivong/spree,vulk/spree,LBRapid/spree,brchristian/spree,hoanghiep90/spree,robodisco/spree,hifly/spree,tailic/spree,tomash/spree,jaspreet21anand/spree,CJMrozek/spree,ckk-scratch/solidus,dandanwei/spree,surfdome/spree,gregoryrikson/spree-sample,madetech/spree,degica/spree,raow/spree,dotandbo/spree,vinayvinsol/spree,Boomkat/spree,KMikhaylovCTG/spree,gautamsawhney/spree,lsirivong/spree,alejandromangione/spree,Migweld/spree,Machpowersystems/spree_mach,priyank-gupta/spree,richardnuno/solidus,rbngzlv/spree,Machpowersystems/spree_mach,miyazawatomoka/spree,athal7/solidus,shekibobo/spree,orenf/spree,reidblomquist/spree,omarsar/spree,hifly/spree,alejandromangione/spree,mindvolt/spree,derekluo/spree,woboinc/spree,alvinjean/spree,ramkumar-kr/spree,shioyama/spree,pervino/solidus,jeffboulet/spree,wolfieorama/spree,locomotivapro/spree,lzcabrera/spree-1-3-stable,pervino/solidus,dandanwei/spree,jaspreet21anand/spree,lsirivong/spree,richardnuno/solidus,bonobos/solidus,edgward/spree,vinayvinsol/spree,Mayvenn/spree,Ropeney/spree,JuandGirald/spree,bjornlinder/Spree,forkata/solidus,firman/spree,maybii/spree,agient/agientstorefront,dafontaine/spree,FadliKun/spree,jhawthorn/spree,Engeltj/spree,welitonfreitas/spree,degica/spree,Kagetsuki/spree,jordan-brough/spree,Ropeney/spree,lzcabrera/spree-1-3-stable,Senjai/solidus,beni55/spree,grzlus/solidus,vinsol/spree,RatioClothing/spree,ahmetabdi/spree,FadliKun/spree,welitonfreitas/spree,camelmasa/spree,TrialGuides/spree,archSeer/spree,useiichi/spree,jeffboulet/spree,Mayvenn/spree,sunny2601/spree,useiichi/spree,firman/spree,cutefrank/spree,Engeltj/spree,piousbox/spree,Senjai/solidus,vmatekole/spree,piousbox/spree,jasonfb/spree,jhawthorn/spree,jasonfb/spree,urimikhli/spree,progsri/spree,lsirivong/spree,carlesjove/spree,derekluo/spree,jordan-brough/spree,judaro13/spree-fork,alvinjean/spree,grzlus/solidus,xuewenfei/solidus,edgward/spree,vinayvinsol/spree,trigrass2/spree,scottcrawford03/solidus,radarseesradar/spree,azclick/spree,carlesjove/spree,radarseesradar/spree,robodisco/spree,vinsol/spree,surfdome/spree,shioyama/spree,TimurTarasenko/spree,TrialGuides/spree,sliaquat/spree,HealthWave/spree,reidblomquist/spree,kitwalker12/spree,trigrass2/spree,groundctrl/spree,grzlus/spree,biagidp/spree,yomishra/pce,adaddeo/spree,sideci-sample/sideci-sample-spree,athal7/solidus,locomotivapro/spree,alepore/spree,camelmasa/spree,dandanwei/spree,assembledbrands/spree,nooysters/spree,miyazawatomoka/spree,PhoenixTeam/spree_phoenix,vmatekole/spree,xuewenfei/solidus,Nevensoft/spree,freerunningtech/spree,Lostmyname/spree,imella/spree,kewaunited/spree,archSeer/spree,pulkit21/spree,delphsoft/spree-store-ballchair,CJMrozek/spree,omarsar/spree,mleglise/spree,rakibulislam/spree,tancnle/spree,pervino/spree,progsri/spree,JuandGirald/spree,APohio/spree,forkata/solidus,builtbybuffalo/spree,azclick/spree,raow/spree,kitwalker12/spree,reinaris/spree,Lostmyname/spree,LBRapid/spree,knuepwebdev/FloatTubeRodHolders,mindvolt/spree,JuandGirald/spree,net2b/spree,yiqing95/spree,cutefrank/spree,lsirivong/solidus,mindvolt/spree,maybii/spree,Lostmyname/spree,richardnuno/solidus,grzlus/solidus,DynamoMTL/spree,JDutil/spree,firman/spree,vcavallo/spree,jeffboulet/spree,tomash/spree,sideci-sample/sideci-sample-spree,nooysters/spree,volpejoaquin/spree,DarkoP/spree,sliaquat/spree,mleglise/spree,sfcgeorge/spree,Hawaiideveloper/shoppingcart,APohio/spree,volpejoaquin/spree,ramkumar-kr/spree,project-eutopia/spree,sunny2601/spree,vmatekole/spree,RatioClothing/spree,quentinuys/spree,keatonrow/spree,vmatekole/spree,azclick/spree,NerdsvilleCEO/spree,raow/spree,DarkoP/spree,archSeer/spree,mleglise/spree,alejandromangione/spree,jeffboulet/spree,vcavallo/spree,azranel/spree,surfdome/spree,tesserakt/clean_spree,pjmj777/spree,jparr/spree,orenf/spree,rbngzlv/spree,CiscoCloud/spree,moneyspyder/spree,sliaquat/spree,rakibulislam/spree,scottcrawford03/solidus,welitonfreitas/spree,lsirivong/solidus,jspizziri/spree,gautamsawhney/spree,PhoenixTeam/spree_phoenix,Nevensoft/spree,jordan-brough/solidus,brchristian/spree,karlitxo/spree,priyank-gupta/spree,Senjai/solidus,azranel/spree,ramkumar-kr/spree,zaeznet/spree,KMikhaylovCTG/spree,pervino/spree,vulk/spree,DynamoMTL/spree,zaeznet/spree,lyzxsc/spree,DynamoMTL/spree,njerrywerry/spree,grzlus/solidus,JDutil/spree,karlitxo/spree,welitonfreitas/spree,joanblake/spree,tomash/spree,surfdome/spree,devilcoders/solidus,camelmasa/spree,odk211/spree,shekibobo/spree,alvinjean/spree,Kagetsuki/spree,volpejoaquin/spree,calvinl/spree,vcavallo/spree,tesserakt/clean_spree,zaeznet/spree,madetech/spree,SadTreeFriends/spree,progsri/spree,jhawthorn/spree,jspizziri/spree,maybii/spree,Migweld/spree,jsurdilla/solidus,hifly/spree,calvinl/spree,shaywood2/spree,moneyspyder/spree,patdec/spree,Hates/spree,keatonrow/spree,Hates/spree,groundctrl/spree,jaspreet21anand/spree,karlitxo/spree,lzcabrera/spree-1-3-stable,orenf/spree,yiqing95/spree,moneyspyder/spree,net2b/spree,Arpsara/solidus,odk211/spree,devilcoders/solidus,kitwalker12/spree,yushine/spree,pjmj777/spree,pervino/spree,Machpowersystems/spree_mach,tancnle/spree,alepore/spree,robodisco/spree,azranel/spree,Arpsara/solidus,Engeltj/spree,quentinuys/spree,dotandbo/spree,madetech/spree,ramkumar-kr/spree,yomishra/pce,thogg4/spree,derekluo/spree,ckk-scratch/solidus,fahidnasir/spree,agient/agientstorefront,abhishekjain16/spree,gregoryrikson/spree-sample,scottcrawford03/solidus,pulkit21/spree,freerunningtech/spree,derekluo/spree,karlitxo/spree,forkata/solidus,locomotivapro/spree,vulk/spree,adaddeo/spree,Mayvenn/spree,agient/agientstorefront,athal7/solidus,degica/spree,thogg4/spree,abhishekjain16/spree,trigrass2/spree,dafontaine/spree,pulkit21/spree,ckk-scratch/solidus,brchristian/spree,yomishra/pce,softr8/spree,joanblake/spree,Hawaiideveloper/shoppingcart,miyazawatomoka/spree,progsri/spree,Senjai/spree,cutefrank/spree,TimurTarasenko/spree,jimblesm/spree,jparr/spree,ujai/spree,yushine/spree,grzlus/spree,Hates/spree,reinaris/spree,shaywood2/spree,njerrywerry/spree,cutefrank/spree,grzlus/spree,omarsar/spree,woboinc/spree,Hates/spree,ujai/spree,fahidnasir/spree,sliaquat/spree,priyank-gupta/spree,quentinuys/spree,vulk/spree,jasonfb/spree,calvinl/spree,pjmj777/spree,FadliKun/spree,LBRapid/spree,KMikhaylovCTG/spree,dotandbo/spree,AgilTec/spree,knuepwebdev/FloatTubeRodHolders,ahmetabdi/spree,jparr/spree,hifly/spree,vinsol/spree,PhoenixTeam/spree_phoenix,Senjai/spree,kewaunited/spree,bricesanchez/spree,Ropeney/spree,trigrass2/spree,radarseesradar/spree,DarkoP/spree,radarseesradar/spree,builtbybuffalo/spree,RatioClothing/spree,NerdsvilleCEO/spree,orenf/spree,gautamsawhney/spree,jsurdilla/solidus,thogg4/spree,PhoenixTeam/spree_phoenix,bjornlinder/Spree,codesavvy/sandbox,dotandbo/spree,rbngzlv/spree,bonobos/solidus,ujai/spree,urimikhli/spree,athal7/solidus,scottcrawford03/solidus,jimblesm/spree,sfcgeorge/spree,SadTreeFriends/spree,devilcoders/solidus,jspizziri/spree,caiqinghua/spree,APohio/spree,project-eutopia/spree,lyzxsc/spree,Boomkat/spree,imella/spree,codesavvy/sandbox,bonobos/solidus,JuandGirald/spree,Hawaiideveloper/shoppingcart,jsurdilla/solidus,Kagetsuki/spree,zamiang/spree,priyank-gupta/spree,yiqing95/spree,piousbox/spree,miyazawatomoka/spree,raow/spree,jimblesm/spree,fahidnasir/spree,rajeevriitm/spree,zamiang/spree,joanblake/spree,fahidnasir/spree,patdec/spree,pulkit21/spree,sfcgeorge/spree,carlesjove/spree,archSeer/spree,brchristian/spree,delphsoft/spree-store-ballchair,carlesjove/spree,pervino/solidus,bricesanchez/spree,siddharth28/spree,yiqing95/spree,groundctrl/spree,madetech/spree,njerrywerry/spree,gregoryrikson/spree-sample,lsirivong/solidus,jaspreet21anand/spree,Arpsara/solidus,TimurTarasenko/spree,Ropeney/spree,softr8/spree,NerdsvilleCEO/spree,adaddeo/spree,Nevensoft/spree,DynamoMTL/spree,lyzxsc/spree,jspizziri/spree,azranel/spree,knuepwebdev/FloatTubeRodHolders,AgilTec/spree,ayb/spree,shaywood2/spree,rajeevriitm/spree,beni55/spree,pervino/spree,wolfieorama/spree,thogg4/spree,Antdesk/karpal-spree,JDutil/spree,watg/spree,Migweld/spree,tancnle/spree,quentinuys/spree,hoanghiep90/spree,judaro13/spree-fork,shaywood2/spree,vcavallo/spree,rakibulislam/spree,firman/spree,patdec/spree,alepore/spree,keatonrow/spree,Boomkat/spree,useiichi/spree,gautamsawhney/spree,StemboltHQ/spree,njerrywerry/spree,CiscoCloud/spree,Engeltj/spree,DarkoP/spree,edgward/spree,xuewenfei/solidus,beni55/spree,ayb/spree,gregoryrikson/spree-sample,tailic/spree,sideci-sample/sideci-sample-spree,rakibulislam/spree,codesavvy/sandbox,StemboltHQ/spree,ayb/spree,camelmasa/spree,bricesanchez/spree,Migweld/spree,dafontaine/spree,CiscoCloud/spree,tancnle/spree,SadTreeFriends/spree,patdec/spree,Senjai/solidus,vinsol/spree,FadliKun/spree,biagidp/spree,jimblesm/spree,hoanghiep90/spree,xuewenfei/solidus,kewaunited/spree,piousbox/spree,delphsoft/spree-store-ballchair,nooysters/spree,odk211/spree,berkes/spree,kewaunited/spree,net2b/spree,grzlus/spree,builtbybuffalo/spree,Mayvenn/spree,CiscoCloud/spree,siddharth28/spree,jsurdilla/solidus,pervino/solidus,keatonrow/spree,reinaris/spree,mindvolt/spree,yushine/spree,judaro13/spree-fork,jordan-brough/solidus,groundctrl/spree,maybii/spree,vinayvinsol/spree,builtbybuffalo/spree,net2b/spree,Nevensoft/spree,zaeznet/spree,adaddeo/spree,wolfieorama/spree,tesserakt/clean_spree,Antdesk/karpal-spree,AgilTec/spree,jasonfb/spree,wolfieorama/spree,omarsar/spree,nooysters/spree,rajeevriitm/spree,Senjai/spree,useiichi/spree,beni55/spree,alejandromangione/spree,sunny2601/spree,woboinc/spree,forkata/solidus,project-eutopia/spree,ckk-scratch/solidus,Arpsara/solidus,lsirivong/solidus,abhishekjain16/spree,volpejoaquin/spree,CJMrozek/spree,TimurTarasenko/spree,tailic/spree,biagidp/spree,agient/agientstorefront,TrialGuides/spree,berkes/spree,StemboltHQ/spree,codesavvy/sandbox,shioyama/spree,CJMrozek/spree,tomash/spree,siddharth28/spree,dandanwei/spree,Lostmyname/spree,caiqinghua/spree,joanblake/spree,edgward/spree,yushine/spree,NerdsvilleCEO/spree,urimikhli/spree,abhishekjain16/spree,SadTreeFriends/spree,HealthWave/spree,APohio/spree,dafontaine/spree,Boomkat/spree,KMikhaylovCTG/spree,Hawaiideveloper/shoppingcart,watg/spree,odk211/spree,AgilTec/spree,reidblomquist/spree,softr8/spree,reidblomquist/spree,tesserakt/clean_spree,ayb/spree,lyzxsc/spree,jparr/spree,assembledbrands/spree,jordan-brough/spree,imella/spree,Kagetsuki/spree,rajeevriitm/spree,calvinl/spree,zamiang/spree