mirror of
https://github.com/discourse/discourse.git
synced 2025-05-21 18:12:32 +08:00
Add rubocop to our build. (#5004)
This commit is contained in:
@ -199,7 +199,7 @@ describe AdminDashboardData do
|
||||
def all_setting_permutations(keys)
|
||||
['a', ''].repeated_permutation(keys.size) do |*values|
|
||||
hash = Hash[keys.zip(values)]
|
||||
hash.each do |key,value|
|
||||
hash.each do |key, value|
|
||||
SiteSetting.public_send("#{key}=", value)
|
||||
end
|
||||
yield hash
|
||||
|
Reference in New Issue
Block a user