fix tests on jruby
fix tests on jruby

bandzoogle/rails_email_preview,bandzoogle/rails_email_preview,glebm/rails_email_preview,glebm/rails_email_preview,glebm/rails_email_preview,bandzoogle/rails_email_preview