mirror of
https://github.com/discourse/discourse.git
synced 2025-03-03 19:45:25 +08:00
DEV: Update user-status test to assert message-bus channels (#20068)
This test appears to be flaky. This assertion should help us track down the reason.
This commit is contained in:
parent
9a196ced08
commit
fa7f8d8e1b
@ -162,7 +162,7 @@ RSpec.describe UserStatusController do
|
||||
put "/user-status.json", params: { description: status, emoji: emoji, ends_at: ends_at }
|
||||
end
|
||||
|
||||
expect(messages.size).to eq(1)
|
||||
expect(messages.map(&:channel)).to contain_exactly("/user-status")
|
||||
expect(messages[0].channel).to eq("/user-status")
|
||||
expect(messages[0].group_ids).to eq([Group::AUTO_GROUPS[:trust_level_0]])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user