Use custom capture implementation in tests.
Use custom capture implementation in tests.

reference: https://github.com/rails/rails/pull/13392#issuecomment-62839760

anitagraham/refinerycms,simi/refinerycms,stefanspicer/refinerycms,mlinfoot/refinerycms,johanb/refinerycms,gwagener/refinerycms,chrise86/refinerycms,anitagraham/refinerycms,gwagener/refinerycms,gwagener/refinerycms,stefanspicer/refinerycms,Eric-Guo/refinerycms,hoopla-software/refinerycms,chrise86/refinerycms,mkaplan9/refinerycms,KingLemuel/refinerycms,simi/refinerycms,hoopla-software/refinerycms,mabras/refinerycms,mkaplan9/refinerycms,Eric-Guo/refinerycms,KingLemuel/refinerycms,LytayTOUCH/refinerycms,aguzubiaga/refinerycms,refinery/refinerycms,simi/refinerycms,aguzubiaga/refinerycms,trevornez/refinerycms,aguzubiaga/refinerycms,KingLemuel/refinerycms,chrise86/refinerycms,LytayTOUCH/refinerycms,mkaplan9/refinerycms,LytayTOUCH/refinerycms,mlinfoot/refinerycms,hoopla-software/refinerycms,trevornez/refinerycms,trevornez/refinerycms,Retimont/refinerycms,kappiah/refinerycms,kappiah/refinerycms,johanb/refinerycms,stefanspicer/refinerycms,refinery/refinerycms,Eric-Guo/refinerycms,johanb/refinerycms,anitagraham/refinerycms,kappiah/refinerycms,Retimont/refinerycms,refinery/refinerycms,mabras/refinerycms,simi/refinerycms,mlinfoot/refinerycms,mabras/refinerycms,Retimont/refinerycms