Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failing test #234

Closed
utkarsh2102 opened this issue Feb 18, 2019 · 1 comment
Closed

Failing test #234

utkarsh2102 opened this issue Feb 18, 2019 · 1 comment

Comments

@utkarsh2102
Copy link

Hey,

There seems to be a failing test.
Here are the logs:

ActionMailer::Base delivery
  delivers email with inlined CSS (FAILED - 1)

Failures:

  1) ActionMailer::Base delivery delivers email with inlined CSS
     Failure/Error: expect(body).to include(%{<p style="font-size: 12px;">Hello world</p>})
     
       expected "<!DOCTYPE html>\n<html>\n  <head>\n    <meta http-equiv=\"Content-Type\" content=\"text/html; charse...  \n  </head>\n\n  <body>\n    <p style=\"font-size: 12px\">Hello world</p>\n\n  </body>\n</html>\n" to include "<p style=\"font-size: 12px;\">Hello world</p>"
       Diff:
       @@ -1,2 +1,13 @@
       -<p style="font-size: 12px;">Hello world</p>
       +<!DOCTYPE html>
       +<html>
       +  <head>
       +    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
       +    
       +  </head>
       +
       +  <body>
       +    <p style="font-size: 12px">Hello world</p>
       +
       +  </body>
       +</html>
       
     # ./spec/integration/delivery_spec.rb:11:in `block (2 levels) in <top (required)>'

Finished in 0.50921 seconds (files took 1.59 seconds to load)
53 examples, 1 failure

Failed examples:

rspec ./spec/integration/delivery_spec.rb:4 # ActionMailer::Base delivery delivers email with inlined CSS

What could be the possible workaround for the same?

@fphilipe
Copy link
Owner

Just triggered a new build on Travis CI, everything is green.

What's your ruby version and what are the contents of your Gemfile.lock file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants