A platform for community discussion. Free, open, simple.
DEV: correct test to visit category channel and not DM (#30441)
Joffrey JAFFEUX96b5c28cf92b
diff --git a/plugins/chat/spec/system/visit_channel_spec.rb b/plugins/chat/spec/system/visit_channel_spec.rbindex c268b41640d..91985b1e7eb 100644--- a/plugins/chat/spec/system/visit_channel_spec.rb+++ b/plugins/chat/spec/system/visit_channel_spec.rb@@ -114,7 +114,7 @@ RSpec.describe "Visit channel", type: :system doendit "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