Skip to content
This repository
Browse code

Merge pull request #10691 from vipulnsward/typo_fix_ar_1

Fix typo in test name and documentation
  • Loading branch information...
commit 5c3aded290d9fc63093631487ef9045ac5563949 2 parents f924823 + 4237d74
Steve Klabnik steveklabnik authored
2  activerecord/test/cases/adapters/sqlite3/sqlite3_adapter_test.rb
@@ -30,7 +30,7 @@ def test_valid_column
30 30 assert @conn.valid_type?(column.type)
31 31 end
32 32
33   - # sqlite databses should be able to support any type and not
  33 + # sqlite databases should be able to support any type and not
34 34 # just the ones mentioned in the native_database_types.
35 35 # Therefore test_invalid column should always return true
36 36 # even if the type is not valid.
2  activerecord/test/cases/associations_test.rb
@@ -217,7 +217,7 @@ def test_create_with_bang_via_association_with_block
217 217 assert_equal post.body, "More cool stuff!"
218 218 end
219 219
220   - def test_reload_returns_assocition
  220 + def test_reload_returns_association
221 221 david = developers(:david)
222 222 assert_nothing_raised do
223 223 assert_equal david.projects, david.projects.reload.reload

0 comments on commit 5c3aded

Please sign in to comment.
Something went wrong with that request. Please try again.