From 96ac7e4cdee004bcd19cb63b3e3396329e3b39ed Mon Sep 17 00:00:00 2001 From: utilum Date: Wed, 22 Aug 2018 08:53:36 +0200 Subject: Remove duplicate test This patch corrects a duplicate method name introduced in #33635. Also fixes typo in method names. --- activejob/test/cases/test_helper_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'activejob/test/cases') diff --git a/activejob/test/cases/test_helper_test.rb b/activejob/test/cases/test_helper_test.rb index bbc72c5ca3..805dd80ad1 100644 --- a/activejob/test/cases/test_helper_test.rb +++ b/activejob/test/cases/test_helper_test.rb @@ -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") -- cgit v1.2.3