diff options
author | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-01 10:27:30 +0000 |
---|---|---|
committer | Toshi MARUYAMA <marutosijp2@yahoo.co.jp> | 2011-03-01 10:27:30 +0000 |
commit | 5f5dec16f2ececf806404d497886e9cb5e454281 (patch) | |
tree | a7d7998ba8f8da7ac92ec0592ff6a13c52f4479b /test/unit/helpers | |
parent | c09b6edaf405754b969566b9da7d9284f80a34e6 (diff) | |
download | redmine-5f5dec16f2ececf806404d497886e9cb5e454281.tar.gz redmine-5f5dec16f2ececf806404d497886e9cb5e454281.zip |
scm: add feature of per project repository log encoding setting (#1735).
Subversion, Mercurial and Git supports UTF-8 log.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4982 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/unit/helpers')
-rw-r--r-- | test/unit/helpers/application_helper_test.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/test/unit/helpers/application_helper_test.rb b/test/unit/helpers/application_helper_test.rb index 69eaf7456..aa2c62776 100644 --- a/test/unit/helpers/application_helper_test.rb +++ b/test/unit/helpers/application_helper_test.rb @@ -292,7 +292,9 @@ RAW 'commit:20080308225258-98289-abcd456efg.gz' => changeset_link, } @project = Project.find(3) - r = Repository::Darcs.create!(:project => @project, :url => '/tmp/test/darcs') + r = Repository::Darcs.create!( + :project => @project, :url => '/tmp/test/darcs', + :log_encoding => 'UTF-8') assert r c = Changeset.new(:repository => r, :committed_on => Time.now, |