mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 06:20:23 +08:00

When passing a `plugins/...` path to bin/rspec, it's reasonable to assume that the developer wants the tests to be run with plugins loaded. This commit automatically takes care of that. If `LOAD_PLUGINS` is explicitly specified, then that value will always be used. This mimics the logic we already have for database migrations in the `bin/rake` stub