This commit adds the RailsMultisite middleware in test mode when Rails.configuration.multisite is true. This allows for much more realistic integration testing. The `multisite_spec.rb` file is rewritten to avoid needing to simulate a middleware stack.
This reverts commit 2ff8b4f5d9dd72a55d7ebdc23a3758dd5ec4682d.
Attempt #2 at a Rails update this time we also update the
rails_multisite gem to allow for cleaner reordering
Upgrades Rails to latest, this version has better compatibility
with Ruby 2.7
During the upgrade we needed a new cleaner mechanism for configuring
message bus.
All tests are green.
If anything weird pops up please revert.
Both request tracking and message bus rely on multisite before the
middleware has run which is not ideal.
Follow-up-to: ca1208a63669d4d4ad7452367008d40fa090f645