There was an error while loading. Please reload this page.
1 parent ddbddac commit dcc48a7Copy full SHA for dcc48a7
1 file changed
spec/requests/docs_controller_spec.rb
@@ -313,15 +313,15 @@ def get_tags_from_response(response_tags)
313
end
314
315
it "should return a docs topic when only tags are added to settings" do
316
- SiteSetting.docs_categories = nil
+ SiteSetting.docs_categories = ""
317
318
get "/#{GlobalSetting.docs_path}.json?topic=#{topic.id}"
319
320
expect(response.parsed_body["topic"]["id"]).to eq(topic.id)
321
322
323
it "should return a docs topic when only categories are added to settings" do
324
- SiteSetting.docs_tags = nil
+ SiteSetting.docs_tags = ""
325
326
327
0 commit comments