Skip to content

Commit

Permalink
Update test/rubocop/cop/minitest/duplicate_test_run_test.rb
Browse files Browse the repository at this point in the history
Co-authored-by: Andy Waite <andyw8@users.noreply.github.com>
  • Loading branch information
gjtorikian and andyw8 committed Apr 9, 2022
1 parent 6b281b4 commit 72c0d65
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* [#174](https://github.com/rubocop/rubocop-minitest/pull/167): Fix potential for valid Ruby code to be unparseable in `Minitest/DuplicateTestRun` cop. ([@gjtorikian][])
* [#174](https://github.com/rubocop/rubocop-minitest/pull/167): Fix potential for valid Ruby code to be unparsable in `Minitest/DuplicateTestRun` cop. ([@gjtorikian][])
2 changes: 1 addition & 1 deletion test/rubocop/cop/minitest/duplicate_test_run_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ def test_child_asserts_twice
def test_does_not_throw_error_if_missing_parent_test_class
assert_no_offenses(<<~RUBY)
class PostmarkAccountServiceTest < ActionDispatch::IntegrationTest
test "it handles missing payloads from Postmark Account API errors'"do
test "it handles missing payloads from Postmark Account API errors" do
Postmark::AccountApiClient.any_instance.stubs(:create_server).raises(StandardError)
Rails.logger.expects(:error)
Expand Down

0 comments on commit 72c0d65

Please sign in to comment.