mirror of
https://github.com/discourse/discourse.git
synced 2025-05-22 06:41:25 +08:00
DEV: makes every spec use new messages helper (#23163)
It's been introduced months ago, but not everything was transitioned to it.
This commit is contained in:
@ -16,7 +16,7 @@ RSpec.describe "Message notifications - mobile", type: :system, mobile: true do
|
||||
sign_in(creator)
|
||||
chat_page.visit_channel(channel)
|
||||
chat_channel_page.send_message(text)
|
||||
expect(chat_channel_page).to have_message(text: text)
|
||||
expect(chat_channel_page.messages).to have_message(text: text)
|
||||
end
|
||||
|
||||
context "as a user" do
|
||||
|
Reference in New Issue
Block a user