Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix duplicate test method names #33684

Merged
merged 1 commit into from Aug 22, 2018

Conversation

utilum
Copy link
Contributor

@utilum utilum commented Aug 22, 2018

This patch fixes a duplicate test method name in #33635.

Also fixes typo in method names.

@rails-bot
Copy link

r? @kaspth

(@rails-bot has picked a reviewer for you, use r? to override)

@@ -1197,7 +1185,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_with_except_and_queue_options_failure
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

could you please just change the name to test_assert_performed_jobs_without_block_with_except_and_queue_options_failure

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah.... yes. Fixed.

@bogdanvlviv
Copy link
Contributor

bogdanvlviv commented Aug 22, 2018

@utilum Good catch. We should test assert_performed_jobs with and without a block. Could you also please return back removed test?

This patch corrects a duplicate method name introduced in rails#33635.

Also fixes typo in method names.
@utilum utilum force-pushed the remove_leftover_duplicate_test branch from f8a7729 to cade790 Compare August 22, 2018 07:40
Copy link
Contributor

@bogdanvlviv bogdanvlviv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Great! Thanks for catching this! ❤️

@utilum utilum changed the title Remove duplicate test Fix duplicate test method names Aug 22, 2018
@jeremy jeremy merged commit 96ac7e4 into rails:master Aug 22, 2018
@utilum utilum deleted the remove_leftover_duplicate_test branch August 22, 2018 08:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants