From 3836d69119fee2a625edae2a564132eff9520bc8 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Sat, 29 Sep 2018 15:34:47 -0700 Subject: Enable frozen string in lib/api and lib/backup Partially addresses #47424. Had to make changes to spec files because stubbing methods on frozen objects is a mess in RSpec and leads to failures: https://github.com/rspec/rspec-mocks/issues/1190 --- lib/api/wikis.rb | 2 ++ 1 file changed, 2 insertions(+) (limited to 'lib/api/wikis.rb') diff --git a/lib/api/wikis.rb b/lib/api/wikis.rb index e86ebc573f2..6e1d4eb335f 100644 --- a/lib/api/wikis.rb +++ b/lib/api/wikis.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module API class Wikis < Grape::API helpers do -- cgit v1.2.3