@@ -118,8 +118,9 YAML | |||
|
118 | 118 | Setting.commit_update_keywords = {} |
|
119 | 119 | assert_equal 1, Setting.where(:name => 'commit_update_keywords').update_all(:value => yaml) |
|
120 | 120 | Setting.clear_cache |
|
121 | ||
|
122 | assert_equal 'UTF-8', Setting.commit_update_keywords.first['keywords'].encoding.name | |
|
121 | if "".respond_to?(:force_encoding) | |
|
122 | assert_equal 'UTF-8', Setting.commit_update_keywords.first['keywords'].encoding.name | |
|
123 | end | |
|
123 | 124 | ensure |
|
124 | 125 | Setting.where(:name => 'commit_update_keywords').delete_all |
|
125 | 126 | Setting.clear_cache |
General Comments 0
You need to be logged in to leave comments.
Login now