Defect #34999 » fix_attachment_test.diff
| test/unit/attachment_test.rb | ||
|---|---|---|
|
def test_latest_attach_should_support_unicode_case_folding
|
||
|
a_capital = Attachment.create!(
|
||
|
:created_on => 2.days.ago,
|
||
|
:author => User.find(1),
|
||
|
:file => mock_file(:filename => 'Ā.TXT')
|
||
|
)
|
||
|
a_small = Attachment.create!(
|
||
|
:created_on => 1.day.ago,
|
||
|
:author => User.find(1),
|
||
|
:file => mock_file(:filename => 'ā.txt')
|
||
|
)
|
||