diff options
author | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-03-23 09:40:32 +0530 |
---|---|---|
committer | Prathamesh Sonpatki <csonpatki@gmail.com> | 2013-03-23 09:40:32 +0530 |
commit | 12cecdd345ae36816c2eb7f94e3855a7fcfed2f8 (patch) | |
tree | 2d779e94b164138506c1979f89da21340e31de58 /activerecord/test/cases | |
parent | 5be6122c399ca15c8f1bf7051f12bfee2b85e1c1 (diff) | |
download | rails-12cecdd345ae36816c2eb7f94e3855a7fcfed2f8.tar.gz rails-12cecdd345ae36816c2eb7f94e3855a7fcfed2f8.tar.bz2 rails-12cecdd345ae36816c2eb7f94e3855a7fcfed2f8.zip |
Fixed typo : contraints -> constraints
Diffstat (limited to 'activerecord/test/cases')
-rw-r--r-- | activerecord/test/cases/adapter_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/adapter_test.rb b/activerecord/test/cases/adapter_test.rb index 0af7cbf74f..bd114995f7 100644 --- a/activerecord/test/cases/adapter_test.rb +++ b/activerecord/test/cases/adapter_test.rb @@ -114,7 +114,7 @@ module ActiveRecord end end - # test resetting sequences in odd tables in postgreSQL + # test resetting sequences in odd tables in PostgreSQL if ActiveRecord::Base.connection.respond_to?(:reset_pk_sequence!) require 'models/movie' require 'models/subscriber' @@ -167,7 +167,7 @@ module ActiveRecord else @connection.execute "INSERT INTO fk_test_has_fk (fk_id) VALUES (0)" end - # should deleted created record as otherwise disable_referential_integrity will try to enable contraints after executed block + # should deleted created record as otherwise disable_referential_integrity will try to enable constraints after executed block # and will fail (at least on Oracle) @connection.execute "DELETE FROM fk_test_has_fk" end |