mirror of
https://github.com/discourse/discourse.git
synced 2025-03-12 15:58:05 +08: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.