Defect #34999 » fix_attachment_test.diff
| test/unit/attachment_test.rb | ||
|---|---|---|
| 475 | 475 | |
| 476 | 476 |
def test_latest_attach_should_support_unicode_case_folding |
| 477 | 477 |
a_capital = Attachment.create!( |
| 478 |
:created_on => 2.days.ago, |
|
| 478 | 479 |
:author => User.find(1), |
| 479 | 480 |
:file => mock_file(:filename => 'Ā.TXT') |
| 480 | 481 |
) |
| 481 | 482 |
a_small = Attachment.create!( |
| 483 |
:created_on => 1.day.ago, |
|
| 482 | 484 |
:author => User.find(1), |
| 483 | 485 |
:file => mock_file(:filename => 'ā.txt') |
| 484 | 486 |
) |