discourse/plugins/chat/spec/system/anonymous_spec.rb
Alan Guo Xiang Tan 41f8bff2c3
DEV: Remove superfluous js: true metadata (#21960)
Why this change?

It is very unlikely that we need to ever JS for system tests considering
that we rely on a JS framework on the frontend.
2023-06-07 09:26:58 +08:00

16 lines
299 B
Ruby
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# frozen_string_literal: true
RSpec.describe "Anonymous", type: :system do
fab!(:topic) { Fabricate(:topic) }
before { chat_system_bootstrap }
context "when anonymous" do
it "doesnt cause issues" do
visit("/")
expect(page).to have_content(topic.title)
end
end
end