From abe6202af9c6cf4cccc0edc9ff546fd246ffa197 Mon Sep 17 00:00:00 2001 From: Gerhard Schlager Date: Tue, 23 Jul 2019 18:04:53 +0200 Subject: [PATCH] DEV: Fix heisentest --- spec/integration/watched_words_spec.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/spec/integration/watched_words_spec.rb b/spec/integration/watched_words_spec.rb index b78990090e8..4657c7e0b16 100644 --- a/spec/integration/watched_words_spec.rb +++ b/spec/integration/watched_words_spec.rb @@ -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