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:
parent
c83c1d9aea
commit
1d5d73afe3
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue