mirror of
https://github.com/codeninjasllc/discourse.git
synced 2024-11-23 23:58:31 -05: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. |
||
---|---|---|
.. | ||
category_featured_topic_spec.rb | ||
category_featured_user_spec.rb | ||
category_spec.rb | ||
draft_sequence_spec.rb | ||
draft_spec.rb | ||
email_log_spec.rb | ||
email_token_spec.rb | ||
error_log_spec.rb | ||
incoming_link_spec.rb | ||
invite_spec.rb | ||
message_bus_observer_spec.rb | ||
notification_spec.rb | ||
onebox_render_spec.rb | ||
post_action_spec.rb | ||
post_action_type_spec.rb | ||
post_alert_observer_spec.rb | ||
post_onebox_render_spec.rb | ||
post_reply_spec.rb | ||
post_spec.rb | ||
post_timing_spec.rb | ||
report_spec.rb | ||
site_customization_spec.rb | ||
site_setting_spec.rb | ||
topic_allowed_user_spec.rb | ||
topic_invite_spec.rb | ||
topic_link_click_spec.rb | ||
topic_link_spec.rb | ||
topic_spec.rb | ||
topic_user_spec.rb | ||
upload_spec.rb | ||
user_action_spec.rb | ||
user_email_observer_spec.rb | ||
user_open_id_spec.rb | ||
user_search_spec.rb | ||
user_spec.rb | ||
user_visit_spec.rb | ||
username_validator_spec.rb | ||
view_spec.rb |