mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Remove duplicate test
This patch corrects a duplicate method name introduced in #33635. Also fixes typo in method names.
This commit is contained in:
parent
1994e89021
commit
96ac7e4cde
1 changed files with 2 additions and 2 deletions
|
@ -1175,7 +1175,7 @@ class PerformedJobsTest < ActiveJob::TestCase
|
|||
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 @@ class PerformedJobsTest < ActiveJob::TestCase
|
|||
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")
|
||||
|
|
Loading…
Reference in a new issue