diff options
Diffstat (limited to 'test/unit/setting_test.rb')
-rw-r--r-- | test/unit/setting_test.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/test/unit/setting_test.rb b/test/unit/setting_test.rb index f8d35a6a6..5d4986760 100644 --- a/test/unit/setting_test.rb +++ b/test/unit/setting_test.rb @@ -145,4 +145,9 @@ class SettingTest < ActiveSupport::TestCase end end end + + def test_default_text_formatting_for_new_installations_is_common_mark + assert_equal 'common_mark', Setting.text_formatting + assert_equal 'common_mark', Setting.find_by(:name => 'text_formatting').value + end end |