mirror of
https://github.com/discourse/discourse.git
synced 2025-02-22 18:15:26 +08:00

Creating or updating flags generates global side effects. Sometimes it seems the state can leak from the flag specs. This is probably related to the use of `fab!`. This patch replaces those calls with standard `let`s. While the overall performances of these tests will be a little less good, their state should not leak anymore.