Re-enable skip tests for `Email::Styles`.

This commit is contained in:
Guo Xiang Tan 2017-07-24 23:16:54 +09:00
parent e82efc7b03
commit 8ee31d3c85
1 changed files with 2 additions and 3 deletions

View File

@ -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