Project

General

Profile

Defect #34999 » fix_attachment_test.diff

Pavel Rosický, 2021-04-01 21:42

View differences:

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')
)
(1-1/2)