mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix default scope with all_queries on reload test name
This commit is contained in:
parent
386ab893f6
commit
1a55df5594
1 changed files with 1 additions and 1 deletions
|
@ -208,7 +208,7 @@ class DefaultScopingTest < ActiveRecord::TestCase
|
|||
assert_match(/mentor_id/, reload_sql)
|
||||
end
|
||||
|
||||
def test_nilable_default_scope_with_all_queries_runs_on_destroy
|
||||
def test_nilable_default_scope_with_all_queries_runs_on_reload
|
||||
dev = DeveloperWithDefaultNilableMentorScopeAllQueries.create!(name: "Nikita")
|
||||
reload_sql = capture_sql { dev.reload }.first
|
||||
|
||||
|
|
Loading…
Reference in a new issue