Forum: Ruby on Rails test unit Mailer test failing Mime-version

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ee0293412faca21e4ebf3326ed9d5f8c?d=identicon&s=25 Kad Kerforn (kadoudal)
on 2007-05-15 20:31
my test is failing because of the string:    Mime-Version: 1.0\r\n added
to the subject

...
To: arthur@example.com\r\n
Subject: test\r\n
Content-Type: text/plain; charset=utf-8\r\n\r\n
...

expected but was

...
To: arthur@example.com\r\n
Subject: test\r\nMime-Version: 1.0\r\n
Content-Type: text/plain; charset=utf-8\r\n\r\n
....

how can I add the mime version in my test ?

thansk

kad
This topic is locked and can not be replied to.