Fix RepositoriesFilesystemControllerTest for jRuby

Iconv on jRuby does not accept an empty string as "from" encoding.
Use the default behavior from the controller instead to leave it
unspecified and thuse use UTF-8.
This commit is contained in:
Holger Just 2011-05-21 01:17:17 +02:00
parent c83c1d9aea
commit 1d5d73afe3
1 changed files with 1 additions and 1 deletions

View File

@ -37,7 +37,7 @@ class RepositoriesFilesystemControllerTest < ActionController::TestCase
@repository = Repository::Filesystem.create(
:project => Project.find(PRJ_ID),
:url => REPOSITORY_PATH,
:path_encoding => ''
:path_encoding => nil
)
assert @repository
end