discourse/spec/models
Brian Kim 1f94ac154b Fix order dependency in site_setting_spec.rb
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.
2013-03-04 11:18:05 -05:00
..
category_featured_topic_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
category_featured_user_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
category_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
draft_sequence_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
draft_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
email_log_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
email_token_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
error_log_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
incoming_link_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
invite_spec.rb introduce Enum 2013-03-01 21:16:36 +03:00
message_bus_observer_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
notification_spec.rb introduce Enum 2013-03-01 21:16:36 +03:00
onebox_render_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
post_action_spec.rb introduce Enum 2013-03-01 21:16:36 +03:00
post_action_type_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
post_alert_observer_spec.rb introduce Enum 2013-03-01 21:16:36 +03:00
post_onebox_render_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
post_reply_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
post_spec.rb introduce Enum 2013-03-01 21:16:36 +03:00
post_timing_spec.rb introduce Enum 2013-03-01 21:16:36 +03:00
report_spec.rb Code to support EmberJS + Discourse Tutorial feature: Admin Reports 2013-02-27 22:40:36 -05:00
site_customization_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
site_setting_spec.rb Fix order dependency in site_setting_spec.rb 2013-03-04 11:18:05 -05:00
topic_allowed_user_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
topic_invite_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
topic_link_click_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
topic_link_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
topic_spec.rb RSS for topics in a category 2013-03-01 09:52:59 -08:00
topic_user_spec.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
upload_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
user_action_spec.rb introduce Enum 2013-03-01 21:16:36 +03:00
user_email_observer_spec.rb Send emails to users who are watching topics 2013-02-27 15:38:44 -05:00
user_open_id_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
user_search_spec.rb Refactor UserSearch tests 2013-02-07 09:35:38 -07:00
user_spec.rb introduce Enum 2013-03-01 21:16:36 +03:00
user_visit_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00
username_validator_spec.rb Extract the validation of Username format in own class to avoid 2013-02-08 12:54:47 -05:00
view_spec.rb Initial release of Discourse 2013-02-05 14:16:51 -05:00