forked from e621ng/e621ng
[RuboCop] Disallow logging in tests
Don't want these committed
This commit is contained in:
parent
4acddd5941
commit
45fd9d52a8
@ -87,6 +87,8 @@ Rails/Output:
|
|||||||
Exclude:
|
Exclude:
|
||||||
- db/seeds.rb
|
- db/seeds.rb
|
||||||
- db/fixes/*.rb
|
- db/fixes/*.rb
|
||||||
|
Include:
|
||||||
|
- test/**/*.rb
|
||||||
|
|
||||||
Rails/ReversibleMigration:
|
Rails/ReversibleMigration:
|
||||||
Enabled: false
|
Enabled: false
|
||||||
|
@ -36,7 +36,6 @@ class LinkHelperTest < ActionView::TestCase
|
|||||||
end
|
end
|
||||||
|
|
||||||
test "it returns a fontawesome icon if no hostname is found" do
|
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"))
|
assert_match("globe", favicon_for_link("https://example.com"))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user