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
This commit is contained in:
parent
c37f638912
commit
4257b1d9ad
|
@ -214,9 +214,11 @@ class ChangesetTest < ActiveSupport::TestCase
|
||||||
end
|
end
|
||||||
|
|
||||||
def test_invalid_utf8_sequences_in_comments_should_be_stripped
|
def test_invalid_utf8_sequences_in_comments_should_be_stripped
|
||||||
c = Changeset.new
|
with_settings :commit_logs_encoding => 'UTF-8' do
|
||||||
c.comments = File.read("#{RAILS_ROOT}/test/fixtures/encoding/iso-8859-1.txt")
|
c = Changeset.new
|
||||||
assert_equal "Texte encod en ISO-8859-1.", c.comments
|
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
|
end
|
||||||
|
|
||||||
def test_identifier
|
def test_identifier
|
||||||
|
|
Loading…
Reference in New Issue