Skip to content

Commit 155dada

Browse files
Fix Typo: belong_to updated to belongs_to
1 parent cac6568 commit 155dada

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)