@@ -63,8 +63,7 class RepositoryGitTest < ActiveSupport::TestCase | |||
|
63 | 63 | set_language_if_valid 'en' |
|
64 | 64 | repo = Repository::Git.new( |
|
65 | 65 | :project => @project, |
|
66 |
:identifier => 'test' |
|
|
67 | :log_encoding => 'UTF-8' | |
|
66 | :identifier => 'test' | |
|
68 | 67 | ) |
|
69 | 68 | assert !repo.save |
|
70 | 69 | assert_include "Path to repository can't be blank", |
@@ -79,7 +78,7 class RepositoryGitTest < ActiveSupport::TestCase | |||
|
79 | 78 | :project => @project, |
|
80 | 79 | :url => "", |
|
81 | 80 | :identifier => 'test', |
|
82 |
: |
|
|
81 | :path_encoding => '' | |
|
83 | 82 | ) |
|
84 | 83 | assert !repo.save |
|
85 | 84 | assert_include str, repo.errors.full_messages |
General Comments 0
You need to be logged in to leave comments.
Login now