Moved to ruby 2.1.5.

This commit is contained in:
Martin Edenhofer 2014-12-29 09:31:44 +01:00
parent e4de2f8dee
commit 9000c3b00e

View file

@ -44,13 +44,13 @@ Old programmers never die. They just branch to a new address.
},
{
:data => IO.read('test/fixtures/mail4.box'),
:body_md5 => '2f2c3a5c233dbd9658ab37d39469b7d0',
:body_md5 => '9fab9a0e8523011fde0f3ecd80f8d72c',
:params => {
:from => '"Günther Katja | Example GmbH" <k.guenther@example.com>',
:from_email => 'k.guenther@example.com',
:from_display_name => 'Günther Katja | Example GmbH',
:subject => 'AW: Ticket Templates [Ticket#11168]',
:body_md5 => "Hallo Katja,
:body => "Hallo Katja,
super! Ich freu mich!
@ -68,6 +68,8 @@ PS: Zur besseren Übersicht habe ich ein Ticket erstellt. :) Im Footer sind unse
Liebe Grüße!
-Martin
",
},
},
@ -443,7 +445,7 @@ Wade to give it seemed like this. Yeah but one for any longer. Everything you go
},
{
:data => IO.read('test/fixtures/mail21.box'),
:body_md5 => '9c08ff6ac8817e7dbea6d2ef04dc7bc3',
:body_md5 => 'a232a7b7b29d20950b9f7b748137ba9d',
:params => {
:from => 'Viagra Super Force Online <pharmacy_affordable1@ertelecom.ru>',
:from_email => 'pharmacy_affordable1@ertelecom.ru',
@ -574,9 +576,9 @@ gate GmbH * Gladbacher Str. 74 * 40219 Düsseldorf
# check params
file[:params].each { |key, value|
if key.to_s == 'body_md5'
puts 'md5'
puts '++' + data[:body].to_s + '++'
puts '++' + file[:params][key.to_sym].to_s + '++'
#puts 'md5'
#puts '++' + data[:body].to_s + '++'
#puts '++' + file[:params][key.to_sym].to_s + '++'
assert_equal( Digest::MD5.hexdigest( file[:params][key.to_sym].to_s ), Digest::MD5.hexdigest( data[:body].to_s ) )
else
assert_equal( file[:params][key.to_sym], data[key.to_sym], "check #{key}" )