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