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

View File

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