DEV: Fix randomly failing spec.

DEV: Fix randomly failing spec.

diff --git a/spec/components/imap/sync_spec.rb b/spec/components/imap/sync_spec.rb
index 7351bcd..f1388f4 100644
--- a/spec/components/imap/sync_spec.rb
+++ b/spec/components/imap/sync_spec.rb
@@ -84,7 +84,7 @@ describe Imap::Sync do
       topic = Topic.last
       expect(topic.title).to eq(subject)
       expect(topic.user.email).to eq(from)
-      expect(topic.tags.pluck(:name)).to eq(%w[seen important test-label])
+      expect(topic.tags.pluck(:name)).to contain_exactly("seen", "important", "test-label")
 
       post = topic.first_post
       expect(post.raw).to eq('This is an email *body*. :smile:')

GitHub sha: 603a4d17