##// END OF EJS Templates
scm: fix unit changeset_test.rb test methods calls randomly....
Toshi MARUYAMA -
r4804:4257b1d9adbc
parent child
Show More
@@ -214,9 +214,11 class ChangesetTest < ActiveSupport::TestCase
214 end
214 end
215
215
216 def test_invalid_utf8_sequences_in_comments_should_be_stripped
216 def test_invalid_utf8_sequences_in_comments_should_be_stripped
217 c = Changeset.new
217 with_settings :commit_logs_encoding => 'UTF-8' do
218 c.comments = File.read("#{RAILS_ROOT}/test/fixtures/encoding/iso-8859-1.txt")
218 c = Changeset.new
219 assert_equal "Texte encod en ISO-8859-1.", c.comments
219 c.comments = File.read("#{RAILS_ROOT}/test/fixtures/encoding/iso-8859-1.txt")
220 assert_equal "Texte encod en ISO-8859-1.", c.comments
221 end
220 end
222 end
221
223
222 def test_identifier
224 def test_identifier
General Comments 0
You need to be logged in to leave comments. Login now