Skip to content

Commit 1a55df5

Browse files
committed
Fix default scope with all_queries on reload test name
1 parent 386ab89 commit 1a55df5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

activerecord/test/cases/scoping/default_scoping_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -208,7 +208,7 @@ def test_default_scope_with_all_queries_runs_on_reload
208208
assert_match(/mentor_id/, reload_sql)
209209
end
210210

211-
def test_nilable_default_scope_with_all_queries_runs_on_destroy
211+
def test_nilable_default_scope_with_all_queries_runs_on_reload
212212
dev = DeveloperWithDefaultNilableMentorScopeAllQueries.create!(name: "Nikita")
213213
reload_sql = capture_sql { dev.reload }.first
214214

0 commit comments

Comments
 (0)