diff --git a/test/unit/repository_git_test.rb b/test/unit/repository_git_test.rb index bcddc11aa..91b41af94 100644 --- a/test/unit/repository_git_test.rb +++ b/test/unit/repository_git_test.rb @@ -63,8 +63,7 @@ class RepositoryGitTest < ActiveSupport::TestCase set_language_if_valid 'en' repo = Repository::Git.new( :project => @project, - :identifier => 'test', - :log_encoding => 'UTF-8' + :identifier => 'test' ) assert !repo.save assert_include "Path to repository can't be blank", @@ -79,7 +78,7 @@ class RepositoryGitTest < ActiveSupport::TestCase :project => @project, :url => "", :identifier => 'test', - :log_encoding => 'UTF-8' + :path_encoding => '' ) assert !repo.save assert_include str, repo.errors.full_messages