Fix deprecation warning test
Fix deprecation warning test

In 1b455e2e9d we switched to Rails 7.0 instead of 6.2 for the next
release. This test was failing due to checking for 6.2 rather than 7.0
in the deprecation warning.

rails/rails,bogdanvlviv/rails,MSP-Greg/rails,Envek/rails,Envek/rails,Erol/rails,lcreid/rails,BlakeWilliams/rails,kmcphillips/rails,betesh/rails,joonyou/rails,lcreid/rails,EmmaB/rails-1,Envek/rails,Stellenticket/rails,yahonda/rails,yawboakye/rails,yawboakye/rails,rails/rails,betesh/rails,esparta/rails,Vasfed/rails,esparta/rails,rails/rails,georgeclaghorn/rails,georgeclaghorn/rails,Stellenticket/rails,Edouard-chin/rails,georgeclaghorn/rails,yahonda/rails,yawboakye/rails,Erol/rails,Envek/rails,MSP-Greg/rails,yahonda/rails,Vasfed/rails,joonyou/rails,BlakeWilliams/rails,lcreid/rails,bogdanvlviv/rails,BlakeWilliams/rails,Edouard-chin/rails,Stellenticket/rails,kmcphillips/rails,BlakeWilliams/rails,bogdanvlviv/rails,EmmaB/rails-1,kmcphillips/rails,Erol/rails,betesh/rails,joonyou/rails,bogdanvlviv/rails,Stellenticket/rails,MSP-Greg/rails,yawboakye/rails,yahonda/rails,kddeisz/rails,kddeisz/rails,EmmaB/rails-1,betesh/rails,kddeisz/rails,Edouard-chin/rails,rails/rails,esparta/rails,kmcphillips/rails,joonyou/rails,Erol/rails,georgeclaghorn/rails,Vasfed/rails,Vasfed/rails,esparta/rails,lcreid/rails,kddeisz/rails,Edouard-chin/rails,MSP-Greg/rails