Skip to content

Commit e9b6185

Browse files
authored
Merge pull request rails#51417 from akhilgkrishnan/test-typo-fix
Fix typo: belong_to -> belongs_to
2 parents 31ba84d + 155dada commit e9b6185

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/activejob/destroy_association_async_job_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class DestroyAssociationAsyncJobTest < ActiveRecord::TestCase
3939
assert_match %r/destroy_association_async_job: uninitialized constant PretendActiveJobIsNotPresent/, error.message
4040
end
4141

42-
test "belong_to dependent destroy_async requires destroy_association_async_job" do
42+
test "belongs_to dependent destroy_async requires destroy_association_async_job" do
4343
error = assert_raises ActiveRecord::ConfigurationError do
4444
UnusedBelongsToAsync.belongs_to :essay_destroy_async, dependent: :destroy_async
4545
end

0 commit comments

Comments
 (0)