diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-22 12:07:34 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-05-22 12:07:34 +0300 |
commit | 672f729cf283c4495ccf5071007e25b33c30daff (patch) | |
tree | 587af1b51e3f94762d59038b65377fa8c9955bcd /spec/tooling | |
parent | f9a4c3a3b853533336efabf7631c7981c8ac7673 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/tooling')
-rw-r--r-- | spec/tooling/docs/deprecation_handling_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/tooling/docs/deprecation_handling_spec.rb b/spec/tooling/docs/deprecation_handling_spec.rb index 78e613c37c7..feedd246e94 100644 --- a/spec/tooling/docs/deprecation_handling_spec.rb +++ b/spec/tooling/docs/deprecation_handling_spec.rb @@ -14,7 +14,7 @@ RSpec.describe Docs::DeprecationHandling do ['14-10-c.yml', '14-2-b.yml', '14-2-a.yml'] ) # Create dummy YAML data based on file name - allow(YAML).to receive(:load_file) do |file_name| + allow(YAML).to receive(:safe_load_file) do |file_name| { 'title' => file_name[/[a-z]*\.yml/], 'removal_milestone' => file_name[/\d+-\d+/].tr('-', '.') |