|
70 | 70 | let(:expected) do |
71 | 71 | I18n.t(:text_journal_changed, |
72 | 72 | label: "<strong>#{custom_field.name}</strong>", |
| 73 | + linebreak: '', |
73 | 74 | old: "<i title=\"#{old_formatted_value}\">#{old_formatted_value}</i>", |
74 | 75 | new: "<i title=\"#{new_formatted_value}\">#{new_formatted_value}</i>") |
75 | 76 | end |
|
111 | 112 | I18n.t(:text_journal_changed_plain, |
112 | 113 | label: custom_field.name, |
113 | 114 | old: format_value(values.first, custom_field), |
| 115 | + linebreak: '', |
114 | 116 | new: format_value(values.last, custom_field)) |
115 | 117 | end |
116 | 118 |
|
|
152 | 154 | let(:expected) do |
153 | 155 | I18n.t(:text_journal_changed, |
154 | 156 | label: "<strong>#{I18n.t(:label_deleted_custom_field)}</strong>", |
| 157 | + linebreak: '', |
155 | 158 | old: "<i title=\"#{values.first}\">#{values.first}</i>", |
156 | 159 | new: "<i title=\"#{values.last}\">#{values.last}</i>") |
157 | 160 | end |
|
229 | 232 | let(:expected) do |
230 | 233 | I18n.t(:text_journal_changed, |
231 | 234 | label: "<strong>#{custom_field.name}</strong>", |
| 235 | + linebreak: '', |
232 | 236 | old: "<i title=\"cf 1, cf 2\">cf 1, cf 2</i>", |
233 | 237 | new: "<i title=\"cf 3, cf 4\">cf 3, cf 4</i>") |
234 | 238 | end |
|
243 | 247 | let(:expected) do |
244 | 248 | I18n.t(:text_journal_changed, |
245 | 249 | label: "<strong>#{custom_field.name}</strong>", |
| 250 | + linebreak: '', |
246 | 251 | old: "<i title=\"cf 1, cf 2\">cf 1, cf 2</i>", |
247 | 252 | new: "<i title=\"(deleted option), cf 4\">(deleted option), cf 4</i>") |
248 | 253 | end |
|
0 commit comments