1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

Fix typo in test name and documentation

This commit is contained in:
Vipul A M 2013-05-20 10:35:43 +05:30
parent f924823126
commit 4237d74213
2 changed files with 2 additions and 2 deletions

View file

@ -30,7 +30,7 @@ module ActiveRecord
assert @conn.valid_type?(column.type) assert @conn.valid_type?(column.type)
end end
# sqlite databses should be able to support any type and not # sqlite databases should be able to support any type and not
# just the ones mentioned in the native_database_types. # just the ones mentioned in the native_database_types.
# Therefore test_invalid column should always return true # Therefore test_invalid column should always return true
# even if the type is not valid. # even if the type is not valid.

View file

@ -217,7 +217,7 @@ class AssociationProxyTest < ActiveRecord::TestCase
assert_equal post.body, "More cool stuff!" assert_equal post.body, "More cool stuff!"
end end
def test_reload_returns_assocition def test_reload_returns_association
david = developers(:david) david = developers(:david)
assert_nothing_raised do assert_nothing_raised do
assert_equal david.projects, david.projects.reload.reload assert_equal david.projects, david.projects.reload.reload