[RuboCop] Disallow logging in tests

Don't want these committed
This commit is contained in:
Earlopain 2024-02-27 16:18:01 +01:00
parent 4acddd5941
commit 45fd9d52a8
No known key found for this signature in database
GPG Key ID: 48860312319ADF61
2 changed files with 2 additions and 1 deletions

View File

@ -87,6 +87,8 @@ Rails/Output:
Exclude:
- db/seeds.rb
- db/fixes/*.rb
Include:
- test/**/*.rb
Rails/ReversibleMigration:
Enabled: false

View File

@ -36,7 +36,6 @@ class LinkHelperTest < ActionView::TestCase
end
test "it returns a fontawesome icon if no hostname is found" do
pp favicon_for_link("https://example.com")
assert_match("globe", favicon_for_link("https://example.com"))
end