mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 09:49:42 +00:00
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.