mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 05:23:43 +08:00
16 lines
309 B
Ruby
16 lines
309 B
Ruby
|
# frozen_string_literal: true
|
|||
|
|
|||
|
RSpec.describe "Anonymous", type: :system, js: true 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
|