Skip to content

Commit

Permalink
Autocorrect RSpecRails/MinitestAssertions...
Browse files Browse the repository at this point in the history
... RuboCop offenses
  • Loading branch information
eduardoj committed May 27, 2024
1 parent 511f7e1 commit 05ad00d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .rubocop_todo.yml
Original file line number Diff line number Diff line change
Expand Up @@ -82,12 +82,6 @@ RSpec/SpecFilePathSuffix:
Exclude:
- 'spec/unit/tags.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
RSpecRails/MinitestAssertions:
Exclude:
- 'spec/requests/logger_spec.rb'

# Offense count: 1
# This cop supports safe autocorrection (--autocorrect).
Rake/Desc:
Expand Down
2 changes: 1 addition & 1 deletion spec/requests/logger_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
get "/metrics"
end

assert_includes out, "error message"
expect(out).to include("error message")
end
end

0 comments on commit 05ad00d

Please sign in to comment.