use  stubbing instead  of  monkeypatching to  stop  tests  from interfering  with  one another.  Closes  #11163 [RubyRedRick]
use  stubbing instead  of  monkeypatching to  stop  tests  from interfering  with  one another.  Closes  #11163 [RubyRedRick]


git-svn-id: afc9fed30c1a09d8801d1e4fbe6e01c29c67d11f@8899 5ecf4fe2-1ee6-0310-87b1-e25e094e27de

xlymian/rails,eileencodes/rails,tijwelch/rails,joonyou/rails,yhirano55/rails,rossta/rails,Sen-Zhang/rails,amoody2108/TechForJustice,aditya-kapoor/rails,starknx/rails,yasslab/railsguides.jp,rails/rails,tgxworld/rails,gavingmiller/rails,assain/rails,kmayer/rails,maicher/rails,kddeisz/rails,notapatch/rails,utilum/rails,arjes/rails,rossta/rails,bolek/rails,kamipo/rails,vassilevsky/rails,lcreid/rails,illacceptanything/illacceptanything,elfassy/rails,fabianoleittes/rails,elfassy/rails,repinel/rails,odedniv/rails,shioyama/rails,voray/rails,riseshia/railsguides.kr,rbhitchcock/rails,bogdanvlviv/rails,Edouard-chin/rails,mijoharas/rails,pvalena/rails,rails/rails,notapatch/rails,amoody2108/TechForJustice,jeremy/rails,rails/rails,tjschuck/rails,yawboakye/rails,richseviora/rails,joonyou/rails,rafaelfranca/omg-rails,notapatch/rails,illacceptanything/illacceptanything,travisofthenorth/rails,aditya-kapoor/rails,ledestin/rails,esparta/rails,bolek/rails,illacceptanything/illacceptanything,kmcphillips/rails,tgxworld/rails,yahonda/rails,BlakeWilliams/rails,kaspth/rails,BlakeWilliams/rails,yasslab/railsguides.jp,88rabbit/newRails,tgxworld/rails,marklocklear/rails,printercu/rails,stefanmb/rails,mathieujobin/reduced-rails-for-travis,kmcphillips/rails,matrinox/rails,yahonda/rails,betesh/rails,lcreid/rails,kenta-s/rails,eileencodes/rails,lucasmazza/rails,betesh/rails,printercu/rails,felipecvo/rails,kmayer/rails,esparta/rails,Erol/rails,jeremy/rails,georgeclaghorn/rails,mtsmfm/rails,kachick/rails,MSP-Greg/rails,yawboakye/rails,Envek/rails,utilum/rails,rossta/rails,georgeclaghorn/rails,flanger001/rails,pschambacher/rails,kddeisz/rails,gauravtiwari/rails,kachick/rails,palkan/rails,maicher/rails,illacceptanything/illacceptanything,brchristian/rails,kirs/rails-1,shioyama/rails,hanystudy/rails,rbhitchcock/rails,kamipo/rails,yahonda/rails,ngpestelos/rails,mtsmfm/rails,vipulnsward/rails,gfvcastro/rails,mechanicles/rails,esparta/rails,88rabbit/newRails,Vasfed/rails,georgeclaghorn/rails,riseshia/railsguides.kr,arjes/rails,mechanicles/rails,esparta/rails,yawboakye/rails,kaspth/rails,coreyward/rails,yalab/rails,flanger001/rails,jeremy/rails,deraru/rails,yasslab/railsguides.jp,fabianoleittes/rails,riseshia/railsguides.kr,yahonda/rails,rafaelfranca/omg-rails,tjschuck/rails,gfvcastro/rails,travisofthenorth/rails,palkan/rails,Vasfed/rails,lcreid/rails,shioyama/rails,MichaelSp/rails,flanger001/rails,88rabbit/newRails,illacceptanything/illacceptanything,yasslab/railsguides.jp,tjschuck/rails,kmcphillips/rails,illacceptanything/illacceptanything,pschambacher/rails,mohitnatoo/rails,kamipo/rails,vipulnsward/rails,yhirano55/rails,aditya-kapoor/rails,iainbeeston/rails,Stellenticket/rails,bogdanvlviv/rails,EmmaB/rails-1,schuetzm/rails,Edouard-chin/rails,gcourtemanche/rails,gcourtemanche/rails,untidy-hair/rails,untidy-hair/rails,sergey-alekseev/rails,gauravtiwari/rails,georgeclaghorn/rails,yhirano55/rails,sealocal/rails,mathieujobin/reduced-rails-for-travis,brchristian/rails,deraru/rails,Vasfed/rails,EmmaB/rails-1,starknx/rails,samphilipd/rails,bogdanvlviv/rails,yhirano55/rails,ngpestelos/rails,marklocklear/rails,bogdanvlviv/rails,koic/rails,MSP-Greg/rails,illacceptanything/illacceptanything,hanystudy/rails,illacceptanything/illacceptanything,stefanmb/rails,mtsmfm/rails,gauravtiwari/rails,betesh/rails,Stellenticket/rails,kaspth/rails,utilum/rails,lucasmazza/rails,voray/rails,fabianoleittes/rails,printercu/rails,odedniv/rails,bradleypriest/rails,illacceptanything/illacceptanything,kmayer/rails,Erol/rails,prathamesh-sonpatki/rails,kddeisz/rails,bradleypriest/rails,kachick/rails,bolek/rails,vipulnsward/rails,richseviora/rails,starknx/rails,kirs/rails-1,palkan/rails,arunagw/rails,elfassy/rails,xlymian/rails,samphilipd/rails,kenta-s/rails,stefanmb/rails,sergey-alekseev/rails,Spin42/rails,koic/rails,assain/rails,repinel/rails,pvalena/rails,eileencodes/rails,mtsmfm/railstest,felipecvo/rails,mohitnatoo/rails,BlakeWilliams/rails,ttanimichi/rails,mechanicles/rails,arjes/rails,coreyward/rails,schuetzm/rails,Envek/rails,ttanimichi/rails,ledestin/rails,mohitnatoo/rails,yawboakye/rails,yalab/rails,EmmaB/rails-1,palkan/rails,vassilevsky/rails,sergey-alekseev/rails,assain/rails,arunagw/rails,baerjam/rails,vipulnsward/rails,MSP-Greg/rails,lcreid/rails,Stellenticket/rails,travisofthenorth/rails,arunagw/rails,lucasmazza/rails,sealocal/rails,deraru/rails,notapatch/rails,alecspopa/rails,ledestin/rails,rafaelfranca/omg-rails,sealocal/rails,brchristian/rails,gavingmiller/rails,pschambacher/rails,tijwelch/rails,jeremy/rails,hanystudy/rails,amoody2108/TechForJustice,Vasfed/rails,Erol/rails,travisofthenorth/rails,vassilevsky/rails,untidy-hair/rails,richseviora/rails,deraru/rails,iainbeeston/rails,rbhitchcock/rails,Sen-Zhang/rails,BlakeWilliams/rails,Spin42/rails,illacceptanything/illacceptanything,koic/rails,gavingmiller/rails,baerjam/rails,bradleypriest/rails,prathamesh-sonpatki/rails,felipecvo/rails,eileencodes/rails,shioyama/rails,iainbeeston/rails,yalab/rails,matrinox/rails,MichaelSp/rails,betesh/rails,baerjam/rails,gfvcastro/rails,kddeisz/rails,MichaelSp/rails,printercu/rails,assain/rails,mechanicles/rails,samphilipd/rails,xlymian/rails,mtsmfm/railstest,matrinox/rails,voray/rails,prathamesh-sonpatki/rails,Envek/rails,ttanimichi/rails,illacceptanything/illacceptanything,schuetzm/rails,aditya-kapoor/rails,arunagw/rails,illacceptanything/illacceptanything,kenta-s/rails,coreyward/rails,Edouard-chin/rails,tjschuck/rails,Erol/rails,mijoharas/rails,MSP-Greg/rails,prathamesh-sonpatki/rails,pvalena/rails,joonyou/rails,repinel/rails,maicher/rails,iainbeeston/rails,alecspopa/rails,gcourtemanche/rails,odedniv/rails,Stellenticket/rails,mohitnatoo/rails,illacceptanything/illacceptanything,tgxworld/rails,Spin42/rails,Sen-Zhang/rails,utilum/rails,ngpestelos/rails,marklocklear/rails,kirs/rails-1,repinel/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,yalab/rails,alecspopa/rails,flanger001/rails,joonyou/rails,schuetzm/rails,fabianoleittes/rails,Envek/rails,rails/rails,Edouard-chin/rails,gfvcastro/rails,riseshia/railsguides.kr,mijoharas/rails,tijwelch/rails,pvalena/rails,baerjam/rails,kmcphillips/rails,mtsmfm/railstest,untidy-hair/rails,mathieujobin/reduced-rails-for-travis