mirror of
https://github.com/discourse/discourse.git
synced 2025-03-06 04:45:24 +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.