Add test cases that class level `destroy`, `delete`, and `update` are affected by scoping (#29997)
Add test cases that class level `destroy`, `delete`, and `update` are affected by scoping (#29997)

I tried to change the expectation in #29976, but it is expected behavior
at least for now. So I added the test cases to prevent anyone change the
expectation.
gfvcastro/rails,mechanicles/rails,Erol/rails,bogdanvlviv/rails,shioyama/rails,tgxworld/rails,jeremy/rails,gfvcastro/rails,kamipo/rails,MSP-Greg/rails,utilum/rails,tjschuck/rails,prathamesh-sonpatki/rails,rafaelfranca/omg-rails,illacceptanything/illacceptanything,joonyou/rails,illacceptanything/illacceptanything,alecspopa/rails,assain/rails,pvalena/rails,Sen-Zhang/rails,BlakeWilliams/rails,brchristian/rails,gauravtiwari/rails,kddeisz/rails,aditya-kapoor/rails,illacceptanything/illacceptanything,pvalena/rails,starknx/rails,utilum/rails,BlakeWilliams/rails,kmcphillips/rails,baerjam/rails,aditya-kapoor/rails,iainbeeston/rails,printercu/rails,baerjam/rails,tjschuck/rails,lcreid/rails,yasslab/railsguides.jp,fabianoleittes/rails,flanger001/rails,yawboakye/rails,palkan/rails,yawboakye/rails,illacceptanything/illacceptanything,illacceptanything/illacceptanything,illacceptanything/illacceptanything,schuetzm/rails,betesh/rails,kddeisz/rails,mohitnatoo/rails,vipulnsward/rails,Edouard-chin/rails,vipulnsward/rails,iainbeeston/rails,gauravtiwari/rails,brchristian/rails,rafaelfranca/omg-rails,tjschuck/rails,yahonda/rails,eileencodes/rails,iainbeeston/rails,fabianoleittes/rails,esparta/rails,Edouard-chin/rails,assain/rails,flanger001/rails,yahonda/rails,alecspopa/rails,untidy-hair/rails,Edouard-chin/rails,Sen-Zhang/rails,repinel/rails,untidy-hair/rails,palkan/rails,Stellenticket/rails,Erol/rails,odedniv/rails,eileencodes/rails,iainbeeston/rails,tjschuck/rails,illacceptanything/illacceptanything,mechanicles/rails,illacceptanything/illacceptanything,deraru/rails,palkan/rails,Edouard-chin/rails,kirs/rails-1,schuetzm/rails,yahonda/rails,EmmaB/rails-1,kamipo/rails,EmmaB/rails-1,vipulnsward/rails,travisofthenorth/rails,yhirano55/rails,notapatch/rails,pvalena/rails,kmayer/rails,kmayer/rails,BlakeWilliams/rails,MSP-Greg/rails,gfvcastro/rails,esparta/rails,lcreid/rails,Envek/rails,MSP-Greg/rails,mechanicles/rails,yhirano55/rails,mohitnatoo/rails,betesh/rails,betesh/rails,joonyou/rails,pvalena/rails,aditya-kapoor/rails,mohitnatoo/rails,tgxworld/rails,travisofthenorth/rails,felipecvo/rails,palkan/rails,gfvcastro/rails,Stellenticket/rails,repinel/rails,Vasfed/rails,esparta/rails,deraru/rails,Stellenticket/rails,yawboakye/rails,yhirano55/rails,starknx/rails,kddeisz/rails,jeremy/rails,kamipo/rails,kmcphillips/rails,aditya-kapoor/rails,Vasfed/rails,schuetzm/rails,arunagw/rails,kirs/rails-1,flanger001/rails,shioyama/rails,rails/rails,Envek/rails,flanger001/rails,Envek/rails,deraru/rails,kmcphillips/rails,fabianoleittes/rails,jeremy/rails,baerjam/rails,eileencodes/rails,rafaelfranca/omg-rails,felipecvo/rails,georgeclaghorn/rails,bogdanvlviv/rails,utilum/rails,gcourtemanche/rails,odedniv/rails,yasslab/railsguides.jp,bogdanvlviv/rails,kmcphillips/rails,kddeisz/rails,rails/rails,Vasfed/rails,kmayer/rails,starknx/rails,joonyou/rails,illacceptanything/illacceptanything,mechanicles/rails,illacceptanything/illacceptanything,shioyama/rails,assain/rails,MSP-Greg/rails,Erol/rails,georgeclaghorn/rails,fabianoleittes/rails,mohitnatoo/rails,assain/rails,georgeclaghorn/rails,printercu/rails,yasslab/railsguides.jp,Envek/rails,deraru/rails,yawboakye/rails,brchristian/rails,schuetzm/rails,repinel/rails,lcreid/rails,illacceptanything/illacceptanything,arunagw/rails,BlakeWilliams/rails,EmmaB/rails-1,arunagw/rails,Stellenticket/rails,untidy-hair/rails,felipecvo/rails,yalab/rails,illacceptanything/illacceptanything,betesh/rails,travisofthenorth/rails,yalab/rails,prathamesh-sonpatki/rails,prathamesh-sonpatki/rails,eileencodes/rails,odedniv/rails,notapatch/rails,rails/rails,yasslab/railsguides.jp,tgxworld/rails,utilum/rails,printercu/rails,untidy-hair/rails,yalab/rails,Sen-Zhang/rails,travisofthenorth/rails,notapatch/rails,baerjam/rails,shioyama/rails,tgxworld/rails,lcreid/rails,printercu/rails,rails/rails,yhirano55/rails,gauravtiwari/rails,esparta/rails,vipulnsward/rails,illacceptanything/illacceptanything,Erol/rails,jeremy/rails,gcourtemanche/rails,Vasfed/rails,yalab/rails,bogdanvlviv/rails,yahonda/rails,georgeclaghorn/rails,gcourtemanche/rails,illacceptanything/illacceptanything,arunagw/rails,notapatch/rails,repinel/rails,illacceptanything/illacceptanything,alecspopa/rails,joonyou/rails,prathamesh-sonpatki/rails,kirs/rails-1