diff options
author | gfyoung <gfyoung17+gitlab@gmail.com> | 2019-04-15 13:17:05 +0300 |
---|---|---|
committer | Rémy Coutable <remy@rymai.me> | 2019-04-15 13:17:05 +0300 |
commit | 93a44e135b0d09ed0fd31dce5d81841a96ef8d67 (patch) | |
tree | e939a8fb6a83fbe4edcc592cd5882cfb4037b081 /spec/controllers/ldap/omniauth_callbacks_controller_spec.rb | |
parent | d5e3677e0c5f4565cf45c1da666a4fca45d930f5 (diff) |
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
Diffstat (limited to 'spec/controllers/ldap/omniauth_callbacks_controller_spec.rb')
-rw-r--r-- | spec/controllers/ldap/omniauth_callbacks_controller_spec.rb | 4 |
1 files changed, 3 insertions, 1 deletions
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) |