diff options
author | Marius Balteanu <marius.balteanu@zitec.com> | 2022-10-04 19:19:15 +0000 |
---|---|---|
committer | Marius Balteanu <marius.balteanu@zitec.com> | 2022-10-04 19:19:15 +0000 |
commit | 9fc669a8880a38dbabb373d1a0303ef10f3ea0f6 (patch) | |
tree | a9fb5a8db92de6310d45d6c4e35ffa8bb6dc31f2 /test/unit/setting_test.rb | |
parent | ba635eace99f8552c3364d6b86b07043147c2dac (diff) | |
download | redmine-9fc669a8880a38dbabb373d1a0303ef10f3ea0f6.tar.gz redmine-9fc669a8880a38dbabb373d1a0303ef10f3ea0f6.zip |
Make common_mark the default text formatting for new installations (#34863).
git-svn-id: https://svn.redmine.org/redmine/trunk@21897 e93f8b46-1217-0410-a6f0-8f06a7374b81
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 |