Move test for #22828 into it's own test
Move test for #22828 into it's own test

The `cookies` hash isn't updated with the value generated by the output
from `to_header` so it wasn't testing anything. Rendering the cookie
value in the controller makes sure that the escaping is actually working.

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