Skip to content

Commit

Permalink
Remove duplicate test
Browse files Browse the repository at this point in the history
This patch corrects a duplicate method name introduced in #33635.

Also fixes typo in method names.
  • Loading branch information
utilum committed Aug 22, 2018
1 parent 1994e89 commit cade790
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions activejob/test/cases/test_helper_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand All @@ -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")
Expand Down

0 comments on commit cade790

Please sign in to comment.