DEV: Fix various spec linting issues (#24672)

Duplicated specs, incorrect descriptions, incorrect assertions, incorrect filenames, old todo
This commit is contained in:
Jarek Radosz
2023-12-04 13:45:19 +01:00
committed by GitHub
parent c2887d3f8c
commit 7196613e2e
29 changed files with 33 additions and 151 deletions

View File

@ -64,11 +64,6 @@ RSpec.describe Email::Styles do
expect(frag.at("a")["style"]).to be_present
end
it "attaches a style to a tags" do
frag = html_fragment("<a href>wat</a>")
expect(frag.at("a")["style"]).to be_present
end
it "attaches a style to ul and li tags" do
frag = html_fragment("<ul><li>hello</li></ul>")
expect(frag.at("ul")["style"]).to be_present