Commit 4620f6b2 authored by Toshi MARUYAMA's avatar Toshi MARUYAMA Committed by Eric Davis

scm: fix unit changeset_test.rb test methods calls randomly.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4924 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 13f83a88
......@@ -214,9 +214,11 @@ class ChangesetTest < ActiveSupport::TestCase
end
def test_invalid_utf8_sequences_in_comments_should_be_stripped
c = Changeset.new
c.comments = File.read("#{RAILS_ROOT}/test/fixtures/encoding/iso-8859-1.txt")
assert_equal "Texte encod en ISO-8859-1.", c.comments
with_settings :commit_logs_encoding => 'UTF-8' do
c = Changeset.new
c.comments = File.read("#{RAILS_ROOT}/test/fixtures/encoding/iso-8859-1.txt")
assert_equal "Texte encod en ISO-8859-1.", c.comments
end
end
def test_identifier
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment