提交 96ac7e4c 编写于 作者: U utilum 提交者: Jeremy Daer

Remove duplicate test

This patch corrects a duplicate method name introduced in #33635.

Also fixes typo in method names.
上级 1994e890
......@@ -1175,7 +1175,7 @@ def test_assert_performed_jobs_with_except_and_queue_options
end
end
def test_assert_performed_jobs_with_except_and_queue_options_failuree
def test_assert_performed_jobs_with_except_and_queue_options_failure
error = assert_raise ActiveSupport::TestCase::Assertion do
assert_performed_jobs 1, except: HelloJob, queue: :other_queue do
HelloJob.set(queue: :other_queue).perform_later("jeremy")
......@@ -1197,7 +1197,7 @@ def test_assert_performed_jobs_without_block_with_except_and_queue_options
assert_performed_jobs 1, except: HelloJob, queue: :other_queue
end
def test_assert_performed_jobs_with_except_and_queue_options_failuree
def test_assert_performed_jobs_without_block_with_except_and_queue_options_failure
HelloJob.set(queue: :other_queue).perform_later("jeremy")
LoggingJob.set(queue: :some_queue).perform_later("bogdan")
LoggingJob.set(queue: :some_queue).perform_later("jeremy")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册