discourse/spec
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
..
components Merge pull request #331 from goshakkk/enum-spec-valid 2013-03-02 08:00:46 -08:00
controllers Merge pull request #290 from alxndr/category-rss 2013-03-01 12:01:26 -08:00
fabricators introduce Enum 2013-03-01 21:16:36 +03:00
fixtures/oneboxer Clean up JS, add YUIDoc support, automatically create IIFE via asset pipeline 2013-02-25 17:16:57 -05:00
integrity introduce Enum 2013-03-01 21:16:36 +03:00
javascripts Remove unusued site_settings, show checkbox in UI for boolean values, remove restrict_access 2013-03-01 14:27:41 -05:00
mailers Swap out "@" for "via" in email From field 2013-02-27 19:03:57 -05:00
models Fix order dependency in site_setting_spec.rb 2013-03-04 11:18:05 -05:00
phantom_js formatted some tests 2013-02-27 03:18:23 +01:00
requests remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00
support use shared_examples_for versioning, for both posts and topics 2013-02-08 08:17:05 -05:00
views/omniauth_callbacks Merge branch 'github-auth' of git://github.com/nverba/discourse 2013-02-27 12:09:22 -05:00
spec_helper.rb remove trailing whitespaces ❤️ 2013-02-26 07:31:35 +03:00