diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-02-01 17:14:00 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2012-02-01 17:14:00 -0200 |
commit | 9b1d54e29287406ead1b5c3c2c3187607b54d8ea (patch) | |
tree | 6cd089cd1ffd7a164726513ca3655682b5db0648 /activerecord/test/cases | |
parent | 33d8b62c527b16851db7d7ea79f1269db325d1aa (diff) | |
download | rails-9b1d54e29287406ead1b5c3c2c3187607b54d8ea.tar.gz rails-9b1d54e29287406ead1b5c3c2c3187607b54d8ea.tar.bz2 rails-9b1d54e29287406ead1b5c3c2c3187607b54d8ea.zip |
Fix typo
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/associations/has_one_associations_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/associations/has_one_associations_test.rb b/activerecord/test/cases/associations/has_one_associations_test.rb index 331358bd61..246877bbed 100644 --- a/activerecord/test/cases/associations/has_one_associations_test.rb +++ b/activerecord/test/cases/associations/has_one_associations_test.rb @@ -184,7 +184,7 @@ class HasOneAssociationsTest < ActiveRecord::TestCase firm.destroy assert !firm.errors.empty? - assert_equal "Cannot delete record because a dependent account exist", firm.errors[:base].first + assert_equal "Cannot delete record because a dependent account exists", firm.errors[:base].first assert RestrictedFirm.exists?(:name => 'restrict') assert firm.account.present? ensure @@ -207,7 +207,7 @@ class HasOneAssociationsTest < ActiveRecord::TestCase firm.destroy assert !firm.errors.empty? - assert_equal "Cannot delete record because a dependent account model exist", firm.errors[:base].first + assert_equal "Cannot delete record because a dependent account model exists", firm.errors[:base].first assert RestrictedFirm.exists?(:name => 'restrict') assert firm.account.present? ensure |