mirror of
https://github.com/discourse/discourse.git
synced 2025-05-30 15:28:37 +08:00
DEV: Fix various spec linting issues (#24672)
Duplicated specs, incorrect descriptions, incorrect assertions, incorrect filenames, old todo
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user