mirror of
https://github.com/discourse/discourse.git
synced 2025-02-05 19:11:13 +00:00
20e34b5da6
Fixes a flaky spec: ``` 1) WordWatcher.word_matcher_regexp format of the result regexp is correct when watched_words_regular_expressions = true Failure/Error: expect(regexp.inspect).to eq("/(#{word1})|(#{word2})/i") expected: "/(word35)|(word36)/i" got: "/(word36)|(word35)/i" (compared using ==) # ./spec/services/word_watcher_spec.rb:19:in `block (4 levels) in <main>' ```