mirror of
https://github.com/discourse/discourse.git
synced 2024-12-15 06:24:05 +08:00
64605519da
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. |
||
---|---|---|
.. | ||
create_flag_spec.rb | ||
destroy_flag_spec.rb | ||
reorder_flag_spec.rb | ||
toggle_flag_spec.rb | ||
update_flag_spec.rb |