@@ -68,7 +68,7 class RepositoryTest < ActiveSupport::TestCase | |||||
68 | :project => Project.find(3), :url => "svn://localhost") |
|
68 | :project => Project.find(3), :url => "svn://localhost") | |
69 | assert !repository.save |
|
69 | assert !repository.save | |
70 | assert_equal I18n.translate('activerecord.errors.messages.invalid'), |
|
70 | assert_equal I18n.translate('activerecord.errors.messages.invalid'), | |
71 |
repository.errors. |
|
71 | repository.errors[:type].to_s | |
72 | end |
|
72 | end | |
73 | end |
|
73 | end | |
74 |
|
74 |
General Comments 0
You need to be logged in to leave comments.
Login now