diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 03:07:13 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-07-19 03:07:13 +0300 |
commit | a94adeb6b2b212e824d1bbce5da16ecd7d1b5a20 (patch) | |
tree | 6d5be7275e6f5aec9888758b81318cb8648c3c17 /spec/initializers | |
parent | 355a4a17ebbeb246e48954462163577ae77f45c0 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/initializers')
-rw-r--r-- | spec/initializers/secret_token_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/initializers/secret_token_spec.rb b/spec/initializers/secret_token_spec.rb index 2c396a18361..5c39bee16b2 100644 --- a/spec/initializers/secret_token_spec.rb +++ b/spec/initializers/secret_token_spec.rb @@ -7,8 +7,8 @@ RSpec.describe 'create_tokens' do include StubENV let(:secrets) { ActiveSupport::OrderedOptions.new } - let(:hex_key) { /\h{128}/.freeze } - let(:rsa_key) { /\A-----BEGIN RSA PRIVATE KEY-----\n.+\n-----END RSA PRIVATE KEY-----\n\Z/m.freeze } + let(:hex_key) { /\h{128}/ } + let(:rsa_key) { /\A-----BEGIN RSA PRIVATE KEY-----\n.+\n-----END RSA PRIVATE KEY-----\n\Z/m } before do allow(Rails).to receive_message_chain(:application, :secrets).and_return(secrets) |