diff options
Diffstat (limited to 'test/unit/repository_test.rb')
-rw-r--r-- | test/unit/repository_test.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/unit/repository_test.rb b/test/unit/repository_test.rb index c1e062495..ad0fc9f5f 100644 --- a/test/unit/repository_test.rb +++ b/test/unit/repository_test.rb @@ -68,7 +68,7 @@ class RepositoryTest < ActiveSupport::TestCase :project => Project.find(3), :url => "svn://localhost") assert !repository.save assert_equal I18n.translate('activerecord.errors.messages.invalid'), - repository.errors.on(:type) + repository.errors[:type].to_s end end |