aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorutilum <oz@utilum.com>2018-08-22 08:53:36 +0200
committerJeremy Daer <jeremydaer@gmail.com>2018-08-22 01:41:09 -0700
commit96ac7e4cdee004bcd19cb63b3e3396329e3b39ed (patch)
treec3f81f521bae8d210712faaffe2c7913975104e8
parent1994e8902172f815853f5460aca34548be8ab597 (diff)
downloadrails-96ac7e4cdee004bcd19cb63b3e3396329e3b39ed.tar.gz
rails-96ac7e4cdee004bcd19cb63b3e3396329e3b39ed.tar.bz2
rails-96ac7e4cdee004bcd19cb63b3e3396329e3b39ed.zip
Remove duplicate test
This patch corrects a duplicate method name introduced in #33635. Also fixes typo in method names.
-rw-r--r--activejob/test/cases/test_helper_test.rb4
1 files changed, 2 insertions, 2 deletions
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")