mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
Re-enable skip tests for Email::Styles
.
This commit is contained in:
parent
e82efc7b03
commit
8ee31d3c85
@ -24,9 +24,8 @@ describe Email::Styles do
|
|||||||
expect(style.to_html).to be_blank
|
expect(style.to_html).to be_blank
|
||||||
end
|
end
|
||||||
|
|
||||||
# Pending due to email effort @coding-horror made in d2fb2bc4c
|
it "adds a max-width to large images" do
|
||||||
skip "adds a max-width to images" do
|
frag = basic_fragment("<img height='auto' width='auto' src='gigantic.jpg'>")
|
||||||
frag = basic_fragment("<img src='gigantic.jpg'>")
|
|
||||||
expect(frag.at("img")["style"]).to match("max-width")
|
expect(frag.at("img")["style"]).to match("max-width")
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user