From 93a44e135b0d09ed0fd31dce5d81841a96ef8d67 Mon Sep 17 00:00:00 2001 From: gfyoung Date: Mon, 15 Apr 2019 10:17:05 +0000 Subject: Add some frozen string to spec/**/*.rb Adds frozen string to the following: * spec/bin/**/*.rb * spec/config/**/*.rb * spec/controllers/**/*.rb xref https://gitlab.com/gitlab-org/gitlab-ce/issues/59758 --- spec/controllers/ldap/omniauth_callbacks_controller_spec.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'spec/controllers/ldap') diff --git a/spec/controllers/ldap/omniauth_callbacks_controller_spec.rb b/spec/controllers/ldap/omniauth_callbacks_controller_spec.rb index c9d36a16008..6d588c8f915 100644 --- a/spec/controllers/ldap/omniauth_callbacks_controller_spec.rb +++ b/spec/controllers/ldap/omniauth_callbacks_controller_spec.rb @@ -1,3 +1,5 @@ +# frozen_string_literal: true + require 'spec_helper' describe Ldap::OmniauthCallbacksController do @@ -43,7 +45,7 @@ describe Ldap::OmniauthCallbacksController do end context 'sign up' do - let(:user) { double(email: 'new@example.com') } + let(:user) { double(email: +'new@example.com') } before do stub_omniauth_setting(block_auto_created_users: false) -- cgit v1.2.1