diff options
Diffstat (limited to 'test/unit/repository_mercurial_test.rb')
-rw-r--r-- | test/unit/repository_mercurial_test.rb | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/test/unit/repository_mercurial_test.rb b/test/unit/repository_mercurial_test.rb index f5206e3f9..6a7bf0c37 100644 --- a/test/unit/repository_mercurial_test.rb +++ b/test/unit/repository_mercurial_test.rb @@ -51,8 +51,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase set_language_if_valid 'en' repo = Repository::Mercurial.new( :project => @project, - :identifier => 'test', - :log_encoding => 'UTF-8' + :identifier => 'test' ) assert !repo.save assert_include "Path to repository can't be blank", @@ -67,7 +66,7 @@ class RepositoryMercurialTest < ActiveSupport::TestCase :project => @project, :url => "", :identifier => 'test', - :log_encoding => 'UTF-8' + :path_encoding => '' ) assert !repo.save assert_include str, repo.errors.full_messages |