Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion spec/system/docs_index_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
context "when docs_show_topic_excerpts is false" do
before { SiteSetting.always_include_topic_excerpts = false }

xit "does not show the topic excerpts by default" do
it "does not show the topic excerpts by default" do
visit("/docs")
expect(page).to have_no_css(".topic-excerpt")
end
Expand All @@ -49,6 +49,8 @@
Theme.clear_cache!
end

after { Theme.clear_cache! }

it "shows the excerpts" do
visit("/docs")
expect(page).to have_css(".topic-excerpt", text: topic_1.excerpt)
Expand Down
Loading