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:
parent
f924823126
commit
4237d74213
2 changed files with 2 additions and 2 deletions
|
@ -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.
|
||||||
|
|
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue