DEV: correct test to visit category channel and not DM (#30441)

This commit is contained in:
Joffrey JAFFEUX 2024-12-23 13:36:02 +01:00 committed by GitHub
parent cf26d3f211
commit 96b5c28cf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,7 +114,7 @@ RSpec.describe "Visit channel", type: :system do
end
it "shows an error" do
chat.visit_channel(inaccessible_dm_channel_1)
chat.visit_channel(readonly_category_channel_1)
expect(page).to have_content(I18n.t("invalid_access"))
end