DEV: Simple formatting fix.

This commit is contained in:
Guo Xiang Tan 2020-07-07 15:45:57 +08:00
parent f3f30edf3f
commit 0c742dd022
No known key found for this signature in database
GPG Key ID: FBD110179AAC1F20
1 changed files with 6 additions and 4 deletions

View File

@ -584,11 +584,13 @@ describe Search do
end
context 'cyrillic topic' do
let!(:cyrillic_topic) { Fabricate(:topic) do
user
title { sequence(:title) { |i| "Тестовая запись #{i}" } }
end
let!(:cyrillic_topic) {
Fabricate(:topic) do
user
title { sequence(:title) { |i| "Тестовая запись #{i}" } }
end
}
let!(:post) { Fabricate(:post, topic: cyrillic_topic, user: cyrillic_topic.user) }
let(:result) { Search.execute('запись') }