summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVitali Tatarintev <vtatarintev@gitlab.com>2019-08-22 12:14:30 +0200
committerVitali Tatarintev <vtatarintev@gitlab.com>2019-08-28 08:43:47 +0200
commitd40b7ea37534e57d134b9a5e1268aa87d53c513d (patch)
tree1f13d9477d09c3697657c03f52029d843024d08f
parent3a71ab523ebe9e8d30aabbf12e659eb75036d0b5 (diff)
downloadgitlab-ce-d40b7ea37534e57d134b9a5e1268aa87d53c513d.tar.gz
Enable frozen string literal
-rw-r--r--rubocop/cop/rspec/be_success_matcher.rb2
-rw-r--r--spec/rubocop/cop/rspec/be_success_matcher_spec.rb2
2 files changed, 4 insertions, 0 deletions
diff --git a/rubocop/cop/rspec/be_success_matcher.rb b/rubocop/cop/rspec/be_success_matcher.rb
index 4ca1a7190b0..9ab344a3762 100644
--- a/rubocop/cop/rspec/be_success_matcher.rb
+++ b/rubocop/cop/rspec/be_success_matcher.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require_relative '../../spec_helpers'
module RuboCop
diff --git a/spec/rubocop/cop/rspec/be_success_matcher_spec.rb b/spec/rubocop/cop/rspec/be_success_matcher_spec.rb
index 0d86553af36..26044b1ef24 100644
--- a/spec/rubocop/cop/rspec/be_success_matcher_spec.rb
+++ b/spec/rubocop/cop/rspec/be_success_matcher_spec.rb
@@ -1,3 +1,5 @@
+# frozen_string_literal: true
+
require 'spec_helper'
require 'rubocop'