summaryrefslogtreecommitdiffstats
path: root/test/functional/repositories_darcs_controller_test.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-01 10:27:30 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2011-03-01 10:27:30 +0000
commit5f5dec16f2ececf806404d497886e9cb5e454281 (patch)
treea7d7998ba8f8da7ac92ec0592ff6a13c52f4479b /test/functional/repositories_darcs_controller_test.rb
parentc09b6edaf405754b969566b9da7d9284f80a34e6 (diff)
downloadredmine-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/functional/repositories_darcs_controller_test.rb')
-rw-r--r--test/functional/repositories_darcs_controller_test.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/test/functional/repositories_darcs_controller_test.rb b/test/functional/repositories_darcs_controller_test.rb
index a315f9fa8..d78149ca5 100644
--- a/test/functional/repositories_darcs_controller_test.rb
+++ b/test/functional/repositories_darcs_controller_test.rb
@@ -34,7 +34,9 @@ class RepositoriesDarcsControllerTest < ActionController::TestCase
@response = ActionController::TestResponse.new
User.current = nil
@project = Project.find(PRJ_ID)
- @repository = Repository::Darcs.create(:project => @project, :url => REPOSITORY_PATH)
+ @repository = Repository::Darcs.create(
+ :project => @project, :url => REPOSITORY_PATH,
+ :log_encoding => 'UTF-8')
assert @repository
end