1
0
Fork 0
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:
utilum 2018-08-22 08:53:36 +02:00 committed by Jeremy Daer
parent 1994e89021
commit 96ac7e4cde

View file

@ -1175,7 +1175,7 @@ class PerformedJobsTest < ActiveJob::TestCase
end end
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 error = assert_raise ActiveSupport::TestCase::Assertion do
assert_performed_jobs 1, except: HelloJob, queue: :other_queue do assert_performed_jobs 1, except: HelloJob, queue: :other_queue do
HelloJob.set(queue: :other_queue).perform_later("jeremy") 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 assert_performed_jobs 1, except: HelloJob, queue: :other_queue
end 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") HelloJob.set(queue: :other_queue).perform_later("jeremy")
LoggingJob.set(queue: :some_queue).perform_later("bogdan") LoggingJob.set(queue: :some_queue).perform_later("bogdan")
LoggingJob.set(queue: :some_queue).perform_later("jeremy") LoggingJob.set(queue: :some_queue).perform_later("jeremy")