test: ๐Ÿ’ add test for thai tag

test: :ring: add test for thai tag

diff --git a/spec/components/search_spec.rb b/spec/components/search_spec.rb
index c50037f..57d528e 100644
--- a/spec/components/search_spec.rb
+++ b/spec/components/search_spec.rb
@@ -1489,6 +1489,14 @@ describe Search do
         expect(Search.execute('tags:ใ•ใ‚ˆใ†ใชใ‚‰').posts.map(&:id)).to eq([post.id])
       end
 
+      it 'can find posts with thai tag' do
+        topic = Fabricate(:topic)
+        topic.tags = [Fabricate(:tag, name: 'เน€เธฃเธ‹เธดเนˆเธ™')]
+        post = Fabricate(:post, raw: 'Testing post', topic: topic)
+
+        expect(Search.execute('tags:เน€เธฃเธ‹เธดเนˆเธ™').posts.map(&:id)).to eq([post.id])
+      end
+
       it 'can find posts with any tag from multiple tags' do
         expect(Search.execute('tags:eggs,lunch').posts.map(&:id).sort).to eq([post1.id, post2.id, post3.id, post4.id, post5.id].sort)
       end

GitHub sha: 80b92cf4

This commit appears in #10488 which was merged by tgxworld.