mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
DEV: Update the rubocop setup (#20668)
This commit is contained in:
@@ -186,7 +186,7 @@ RSpec.describe StaticController do
|
||||
["tos", :tos_url, I18n.t("js.tos")],
|
||||
["privacy", :privacy_policy_url, I18n.t("js.privacy")],
|
||||
].each do |id, setting_name, text|
|
||||
context "#{id}" do
|
||||
context "with #{id}" do
|
||||
context "when #{setting_name} site setting is NOT set" do
|
||||
it "renders the #{id} page" do
|
||||
get "/#{id}"
|
||||
|
Reference in New Issue
Block a user