aboutsummaryrefslogtreecommitdiffstats
path: root/activerecord/test/cases/invalid_date_test.rb
diff options
context:
space:
mode:
authorOemuer Oezkir <oemuer.oezkir@gmail.com>2011-07-24 10:21:42 +0000
committerOemuer Oezkir <oemuer.oezkir@gmail.com>2011-07-24 10:21:42 +0000
commit71d18ce48ebcb6b3380309a225af12aba2aeb8ed (patch)
treec4d3414b9db81ebe31178b0355a41b5f5dd9f031 /activerecord/test/cases/invalid_date_test.rb
parent9b9cf92768614eb7dedd190e898b0062c083d8bf (diff)
downloadrails-71d18ce48ebcb6b3380309a225af12aba2aeb8ed.tar.gz
rails-71d18ce48ebcb6b3380309a225af12aba2aeb8ed.tar.bz2
rails-71d18ce48ebcb6b3380309a225af12aba2aeb8ed.zip
Changed a few instances of of words in the API docs written in British English to
American English(according to Weber)
Diffstat (limited to 'activerecord/test/cases/invalid_date_test.rb')
-rw-r--r--activerecord/test/cases/invalid_date_test.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/activerecord/test/cases/invalid_date_test.rb b/activerecord/test/cases/invalid_date_test.rb
index 2de50b224c..98cda010ae 100644
--- a/activerecord/test/cases/invalid_date_test.rb
+++ b/activerecord/test/cases/invalid_date_test.rb
@@ -24,9 +24,9 @@ class InvalidDateTest < ActiveRecord::TestCase
topic = Topic.new({"last_read(1i)" => date_src[0].to_s, "last_read(2i)" => date_src[1].to_s, "last_read(3i)" => date_src[2].to_s})
# Oracle DATE columns are datetime columns and Oracle adapter returns Time value
if current_adapter?(:OracleAdapter)
- assert_equal(topic.last_read.to_date, Time.local(*date_src).to_date, "The date should be modified according to the behaviour of the Time object")
+ assert_equal(topic.last_read.to_date, Time.local(*date_src).to_date, "The date should be modified according to the behavior of the Time object")
else
- assert_equal(topic.last_read, Time.local(*date_src).to_date, "The date should be modified according to the behaviour of the Time object")
+ assert_equal(topic.last_read, Time.local(*date_src).to_date, "The date should be modified according to the behavior of the Time object")
end
end
end