From f0391c2517879bbb73702ccafd5e02bf25b40eec Mon Sep 17 00:00:00 2001 From: Thong Kuah Date: Thu, 25 Jul 2019 17:27:42 +1200 Subject: Add frozen_string_literal to spec/support Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758 --- spec/support/redis/redis_helpers.rb | 2 ++ spec/support/redis/redis_shared_examples.rb | 2 ++ 2 files changed, 4 insertions(+) (limited to 'spec/support/redis') diff --git a/spec/support/redis/redis_helpers.rb b/spec/support/redis/redis_helpers.rb index 0457e8487d8..7c571738a01 100644 --- a/spec/support/redis/redis_helpers.rb +++ b/spec/support/redis/redis_helpers.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + module RedisHelpers # config/README.md diff --git a/spec/support/redis/redis_shared_examples.rb b/spec/support/redis/redis_shared_examples.rb index 6aa59960092..7e47cdae866 100644 --- a/spec/support/redis/redis_shared_examples.rb +++ b/spec/support/redis/redis_shared_examples.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + RSpec.shared_examples "redis_shared_examples" do include StubENV -- cgit v1.2.1