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
|
||||
end
|
||||
|
||||
# Pending due to email effort @coding-horror made in d2fb2bc4c
|
||||
skip "adds a max-width to images" do
|
||||
frag = basic_fragment("<img src='gigantic.jpg'>")
|
||||
it "adds a max-width to large images" do
|
||||
frag = basic_fragment("<img height='auto' width='auto' src='gigantic.jpg'>")
|
||||
expect(frag.at("img")["style"]).to match("max-width")
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue