mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 17:48:39 +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.