@@ -51,8 +51,7 class RepositoryMercurialTest < ActiveSupport::TestCase | |||
|
51 | 51 | set_language_if_valid 'en' |
|
52 | 52 | repo = Repository::Mercurial.new( |
|
53 | 53 | :project => @project, |
|
54 |
:identifier => 'test' |
|
|
55 | :log_encoding => 'UTF-8' | |
|
54 | :identifier => 'test' | |
|
56 | 55 | ) |
|
57 | 56 | assert !repo.save |
|
58 | 57 | assert_include "Path to repository can't be blank", |
@@ -67,7 +66,7 class RepositoryMercurialTest < ActiveSupport::TestCase | |||
|
67 | 66 | :project => @project, |
|
68 | 67 | :url => "", |
|
69 | 68 | :identifier => 'test', |
|
70 |
: |
|
|
69 | :path_encoding => '' | |
|
71 | 70 | ) |
|
72 | 71 | assert !repo.save |
|
73 | 72 | assert_include str, repo.errors.full_messages |
General Comments 0
You need to be logged in to leave comments.
Login now