DEV: Fix heisentest

This commit is contained in:
Gerhard Schlager 2019-07-23 18:04:53 +02:00
parent 68b082e1a4
commit abe6202af9
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ describe WatchedWord do
expect {
result = manager.perform
expect(result).to_not be_success
expect(result.errors[:base]&.first).to eq(I18n.t('contains_blocked_words', words: [block_word.word, another_block_word.word].join(', ')))
expect(result.errors[:base]&.first).to eq(I18n.t('contains_blocked_words', words: [block_word.word, another_block_word.word].sort.join(', ')))
}.to_not change { Post.count }
end