mirror of
https://github.com/discourse/discourse.git
synced 2024-11-23 09:26:54 -06:00
1f94ac154b
The spec contained an order dependency which would cause the default bool test to fail. You can confirm this by running the spec with the option "--order rand" a couple times. This dependency was caused by surprising behavior in SiteSetting::setting as shown below: SiteSetting.setting(:bool_setting?, false) SiteSetting.refresh! SiteSetting.bool_setting? #=> false SiteSetting.random_setting = true SiteSetting.bool_setting? #=> true SiteSetting.setting(:bool_setting?, false) SiteSetting.refresh! SiteSetting.bool_setting? #=> true! The spec is merely desriptive, and I have labeled what I think could be possible bugs. |
||
---|---|---|
.. | ||
components | ||
controllers | ||
fabricators | ||
fixtures/oneboxer | ||
integrity | ||
javascripts | ||
mailers | ||
models | ||
phantom_js | ||
requests | ||
support | ||
views/omniauth_callbacks | ||
spec_helper.rb |