mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 05:07:53 +08:00
41f8bff2c3
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.
16 lines
299 B
Ruby
16 lines
299 B
Ruby
# frozen_string_literal: true
|
||
|
||
RSpec.describe "Anonymous", type: :system do
|
||
fab!(:topic) { Fabricate(:topic) }
|
||
|
||
before { chat_system_bootstrap }
|
||
|
||
context "when anonymous" do
|
||
it "doesn’t cause issues" do
|
||
visit("/")
|
||
|
||
expect(page).to have_content(topic.title)
|
||
end
|
||
end
|
||
end
|