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