##// END OF EJS Templates
2.6-stable: fix unit test on Ruby 1.8.7 (#19305)...
Toshi MARUYAMA -
r13737:e580d565eb55
parent child
Show More
@@ -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
121 if "".respond_to?(:force_encoding)
122 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