Project

General

Profile

Defect #4228 ยป output.txt

Evgeny Zhiryakov, 2011-03-01 05:38

 
1
Loaded suite mail_handler_test
2
Started
3
.................{"x-redmine-issue-author"=>#<TMail::UnstructuredHeader "jsmith">, "precedence"=>#<TMail::UnstructuredHeader "bulk">, "bcc"=>#<TMail::AddressHeader "jsmith@somenet.foo">, "mime-version"=>#<TMail::MimeVersionHeader "1.0">, "from"=>#<TMail::AddressHeader "redmine@example.net">, "x-redmine-issue-assignee"=>#<TMail::UnstructuredHeader "jsmith">, "content-type"=>#<TMail::ContentTypeHeader "multipart/alternative">, "message-id"=>#<TMail::MessageIdHeader "<redmine.issue-22.20110301103410@example.net>">, "x-redmine-issue-id"=>#<TMail::UnstructuredHeader "22">, "subject"=>#<TMail::UnstructuredHeader "[OnlineStore - Bug #22] (Resolved) New ticket on a given project">, "date"=>#<TMail::DateTimeHeader "Tue, 1 Mar 2011 10:34:10 +0600">, "x-mailer"=>#<TMail::UnstructuredHeader "Redmine">, "x-redmine-project"=>#<TMail::UnstructuredHeader "onlinestore">, "x-redmine-site"=>#<TMail::UnstructuredHeader "Redmine">, "auto-submitted"=>#<TMail::UnstructuredHeader "auto-generated">, "x-redmine-host"=>#<TMail::UnstructuredHeader "localhost:3000">}
4

    
5
Issue #22 has been reported by John Smith.
6

    
7
----------------------------------------
8
Bug #22: New ticket on a given project
9
http://localhost:3000/issues/22
10

    
11
Author: John Smith
12
Status: Resolved
13
Priority: Normal
14
Assignee: John Smith
15
Category: 
16
Target version: Alpha
17
Database: 
18
Searchable field: Default string
19
Float field: 
20

    
21

    
22
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas imperdiet 
23
turpis et odio. Integer eget pede vel dolor euismod varius. Phasellus 
24
blandit eleifend augue. Nulla facilisi. Duis id diam. Class aptent taciti 
25
sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In 
26
in urna sed tellus aliquet lobortis. Morbi scelerisque tortor in dolor. Cras 
27
sagittis odio eu lacus. Aliquam sem tortor, consequat sit amet, vestibulum 
28
id, iaculis at, lectus. Fusce tortor libero, congue ut, euismod nec, luctus 
29
eget, eros. Pellentesque tortor enim, feugiat in, dignissim eget, tristique 
30
sed, mauris --- Pellentesque habitant morbi tristique senectus et netus et 
31
malesuada fames ac turpis egestas. Quisque sit amet libero. In hac habitasse 
32
platea dictumst.
33

    
34
--- This line starts with a delimiter and should not be stripped
35

    
36
This paragraph is before delimiters.
37

    
38
BREAK
39

    
40
This paragraph is between delimiters.
41

    
42
---
43

    
44
This paragraph is after the delimiter so it shouldn't appear.
45

    
46
Nulla et nunc. Duis pede. Donec et ipsum. Nam ut dui tincidunt neque 
47
sollicitudin iaculis. Duis vitae dolor. Vestibulum eget massa. Sed lorem. 
48
Nullam volutpat cursus erat. Cras felis dolor, lacinia quis, rutrum et, 
49
dictum et, ligula. Sed erat nibh, gravida in, accumsan non, placerat sed, 
50
massa. Sed sodales, ante fermentum ultricies sollicitudin, massa leo 
51
pulvinar dui, a gravida orci mi eget odio. Nunc a lacus.
52

    
53

    
54
-- 
55
You have received this notification because you have either subscribed to it, or are involved in it.
56
To change your notification preferences, please click here: http://hostname/my/account
57
<html>
58
<head>
59
<style>
60
body {
61
  font-family: Verdana, sans-serif;
62
  font-size: 0.8em;
63
  color:#484848;
64
}
65
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; }
66
h1 { font-size: 1.2em; }
67
h2, h3 { font-size: 1.1em; }
68
a, a:link, a:visited { color: #2A5685;}
69
a:hover, a:active { color: #c61a1a; }
70
a.wiki-anchor { display: none; }
71
hr {
72
  width: 100%;
73
  height: 1px;
74
  background: #ccc;
75
  border: 0;
76
}
77
.footer {
78
  font-size: 0.8em;
79
  font-style: italic;
80
}
81
</style>
82
</head>
83
<body>
84
<span class="header"></span>
85
Issue #22 has been reported by John Smith.
86
<hr />
87
<h1><a href="http://localhost:3000/issues/22">Bug #22: New ticket on a given project</a></h1>
88

    
89
<ul>
90
<li>Author: John Smith</li>
91
<li>Status: Resolved</li>
92
<li>Priority: Normal</li>
93
<li>Assignee: John Smith</li>
94
<li>Category: </li>
95
<li>Target version: Alpha</li>
96

    
97
  <li>Database: </li>
98

    
99
  <li>Searchable field: Default string</li>
100

    
101
  <li>Float field: </li>
102

    
103
</ul>
104

    
105
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas imperdiet <br />turpis et odio. Integer eget pede vel dolor euismod varius. Phasellus <br />blandit eleifend augue. Nulla facilisi. Duis id diam. Class aptent taciti <br />sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In <br />in urna sed tellus aliquet lobortis. Morbi scelerisque tortor in dolor. Cras <br />sagittis odio eu lacus. Aliquam sem tortor, consequat sit amet, vestibulum <br />id, iaculis at, lectus. Fusce tortor libero, congue ut, euismod nec, luctus <br />eget, eros. Pellentesque tortor enim, feugiat in, dignissim eget, tristique <br />sed, mauris --- Pellentesque habitant morbi tristique senectus et netus et <br />malesuada fames ac turpis egestas. Quisque sit amet libero. In hac habitasse <br />platea dictumst.</p>
106

    
107

    
108
	<p>--- This line starts with a delimiter and should not be stripped</p>
109

    
110

    
111
	<p>This paragraph is before delimiters.</p>
112

    
113

    
114
	<p>BREAK</p>
115

    
116

    
117
	<p>This paragraph is between delimiters.</p>
118

    
119

    
120
<hr />
121

    
122

    
123
	<p>This paragraph is after the delimiter so it shouldn't appear.</p>
124

    
125

    
126
	<p>Nulla et nunc. Duis pede. Donec et ipsum. Nam ut dui tincidunt neque <br />sollicitudin iaculis. Duis vitae dolor. Vestibulum eget massa. Sed lorem. <br />Nullam volutpat cursus erat. Cras felis dolor, lacinia quis, rutrum et, <br />dictum et, ligula. Sed erat nibh, gravida in, accumsan non, placerat sed, <br />massa. Sed sodales, ante fermentum ultricies sollicitudin, massa leo <br />pulvinar dui, a gravida orci mi eget odio. Nunc a lacus.</p>
127

    
128

    
129
<hr />
130
<span class="footer"><p>You have received this notification because you have either subscribed to it, or are involved in it.<br />To change your notification preferences, please click here: <a class="external" href="http://hostname/my/account">http://hostname/my/account</a></p></span>
131
</body>
132
</html>
133
{"x-redmine-issue-author"=>#<TMail::UnstructuredHeader "jsmith">, "precedence"=>#<TMail::UnstructuredHeader "bulk">, "bcc"=>#<TMail::AddressHeader "jsmith@somenet.foo">, "mime-version"=>#<TMail::MimeVersionHeader "1.0">, "from"=>#<TMail::AddressHeader "redmine@example.net">, "x-redmine-issue-assignee"=>#<TMail::UnstructuredHeader "jsmith">, "content-type"=>#<TMail::ContentTypeHeader "multipart/alternative">, "message-id"=>#<TMail::MessageIdHeader "<redmine.issue-22.20110301103410@example.net>">, "x-redmine-issue-id"=>#<TMail::UnstructuredHeader "22">, "subject"=>#<TMail::UnstructuredHeader "[OnlineStore - Bug #22] (Resolved) New ticket on a given project">, "date"=>#<TMail::DateTimeHeader "Tue, 1 Mar 2011 10:34:10 +0600">, "x-mailer"=>#<TMail::UnstructuredHeader "Redmine">, "x-redmine-project"=>#<TMail::UnstructuredHeader "onlinestore">, "x-redmine-site"=>#<TMail::UnstructuredHeader "Redmine">, "auto-submitted"=>#<TMail::UnstructuredHeader "auto-generated">, "x-redmine-host"=>#<TMail::UnstructuredHeader "localhost:3000">}
134

    
135
Issue #22 has been reported by John Smith.
136

    
137
----------------------------------------
138
Bug #22: New ticket on a given project
139
http://localhost:3000/issues/22
140

    
141
Author: John Smith
142
Status: Resolved
143
Priority: Normal
144
Assignee: John Smith
145
Category: 
146
Target version: Alpha
147
Database: 
148
Searchable field: Default string
149
Float field: 
150

    
151

    
152
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas imperdiet 
153
turpis et odio. Integer eget pede vel dolor euismod varius. Phasellus 
154
blandit eleifend augue. Nulla facilisi. Duis id diam. Class aptent taciti 
155
sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In 
156
in urna sed tellus aliquet lobortis. Morbi scelerisque tortor in dolor. Cras 
157
sagittis odio eu lacus. Aliquam sem tortor, consequat sit amet, vestibulum 
158
id, iaculis at, lectus. Fusce tortor libero, congue ut, euismod nec, luctus 
159
eget, eros. Pellentesque tortor enim, feugiat in, dignissim eget, tristique 
160
sed, mauris --- Pellentesque habitant morbi tristique senectus et netus et 
161
malesuada fames ac turpis egestas. Quisque sit amet libero. In hac habitasse 
162
platea dictumst.
163

    
164
--- This line starts with a delimiter and should not be stripped
165

    
166
This paragraph is before delimiters.
167

    
168
BREAK
169

    
170
This paragraph is between delimiters.
171

    
172
---
173

    
174
This paragraph is after the delimiter so it shouldn't appear.
175

    
176
Nulla et nunc. Duis pede. Donec et ipsum. Nam ut dui tincidunt neque 
177
sollicitudin iaculis. Duis vitae dolor. Vestibulum eget massa. Sed lorem. 
178
Nullam volutpat cursus erat. Cras felis dolor, lacinia quis, rutrum et, 
179
dictum et, ligula. Sed erat nibh, gravida in, accumsan non, placerat sed, 
180
massa. Sed sodales, ante fermentum ultricies sollicitudin, massa leo 
181
pulvinar dui, a gravida orci mi eget odio. Nunc a lacus.
182

    
183

    
184
-- 
185
You have received this notification because you have either subscribed to it, or are involved in it.
186
To change your notification preferences, please click here: http://hostname/my/account
187
<html>
188
<head>
189
<style>
190
body {
191
  font-family: Verdana, sans-serif;
192
  font-size: 0.8em;
193
  color:#484848;
194
}
195
h1, h2, h3 { font-family: "Trebuchet MS", Verdana, sans-serif; margin: 0px; }
196
h1 { font-size: 1.2em; }
197
h2, h3 { font-size: 1.1em; }
198
a, a:link, a:visited { color: #2A5685;}
199
a:hover, a:active { color: #c61a1a; }
200
a.wiki-anchor { display: none; }
201
hr {
202
  width: 100%;
203
  height: 1px;
204
  background: #ccc;
205
  border: 0;
206
}
207
.footer {
208
  font-size: 0.8em;
209
  font-style: italic;
210
}
211
</style>
212
</head>
213
<body>
214
<span class="header"></span>
215
Issue #22 has been reported by John Smith.
216
<hr />
217
<h1><a href="http://localhost:3000/issues/22">Bug #22: New ticket on a given project</a></h1>
218

    
219
<ul>
220
<li>Author: John Smith</li>
221
<li>Status: Resolved</li>
222
<li>Priority: Normal</li>
223
<li>Assignee: John Smith</li>
224
<li>Category: </li>
225
<li>Target version: Alpha</li>
226

    
227
  <li>Database: </li>
228

    
229
  <li>Searchable field: Default string</li>
230

    
231
  <li>Float field: </li>
232

    
233
</ul>
234

    
235
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Maecenas imperdiet <br />turpis et odio. Integer eget pede vel dolor euismod varius. Phasellus <br />blandit eleifend augue. Nulla facilisi. Duis id diam. Class aptent taciti <br />sociosqu ad litora torquent per conubia nostra, per inceptos himenaeos. In <br />in urna sed tellus aliquet lobortis. Morbi scelerisque tortor in dolor. Cras <br />sagittis odio eu lacus. Aliquam sem tortor, consequat sit amet, vestibulum <br />id, iaculis at, lectus. Fusce tortor libero, congue ut, euismod nec, luctus <br />eget, eros. Pellentesque tortor enim, feugiat in, dignissim eget, tristique <br />sed, mauris --- Pellentesque habitant morbi tristique senectus et netus et <br />malesuada fames ac turpis egestas. Quisque sit amet libero. In hac habitasse <br />platea dictumst.</p>
236

    
237

    
238
	<p>--- This line starts with a delimiter and should not be stripped</p>
239

    
240

    
241
	<p>This paragraph is before delimiters.</p>
242

    
243

    
244
	<p>BREAK</p>
245

    
246

    
247
	<p>This paragraph is between delimiters.</p>
248

    
249

    
250
<hr />
251

    
252

    
253
	<p>This paragraph is after the delimiter so it shouldn't appear.</p>
254

    
255

    
256
	<p>Nulla et nunc. Duis pede. Donec et ipsum. Nam ut dui tincidunt neque <br />sollicitudin iaculis. Duis vitae dolor. Vestibulum eget massa. Sed lorem. <br />Nullam volutpat cursus erat. Cras felis dolor, lacinia quis, rutrum et, <br />dictum et, ligula. Sed erat nibh, gravida in, accumsan non, placerat sed, <br />massa. Sed sodales, ante fermentum ultricies sollicitudin, massa leo <br />pulvinar dui, a gravida orci mi eget odio. Nunc a lacus.</p>
257

    
258

    
259
<hr />
260
<span class="footer"><p>You have received this notification because you have either subscribed to it, or are involved in it.<br />To change your notification preferences, please click here: <a class="external" href="http://hostname/my/account">http://hostname/my/account</a></p></span>
261
</body>
262
</html>
263
F.................
264
Finished in 3.887362 seconds.
265

    
266
  1) Failure:
267
test_add_issue_should_send_email_notification(MailHandlerTest) [mail_handler_test.rb:299]:
268
<1> expected but was
269
<2>.
270

    
271
35 tests, 182 assertions, 1 failures, 0 errors
272

    
    (1-1/1)