summaryrefslogtreecommitdiff
path: root/spec/tooling
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-11-21 00:08:21 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2022-11-21 00:08:21 +0000
commit2f76a4a875bc356b2c80f038e1ef4b835cbdfb4b (patch)
tree0dfdac6575c447631adb5f113e268e4d0911b8b2 /spec/tooling
parent5d9d306884986036e730106098b103997caebfda (diff)
downloadgitlab-ce-2f76a4a875bc356b2c80f038e1ef4b835cbdfb4b.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/tooling')
-rw-r--r--spec/tooling/docs/deprecation_handling_spec.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/tooling/docs/deprecation_handling_spec.rb b/spec/tooling/docs/deprecation_handling_spec.rb
index 15dd69275c9..94c93d99b94 100644
--- a/spec/tooling/docs/deprecation_handling_spec.rb
+++ b/spec/tooling/docs/deprecation_handling_spec.rb
@@ -16,7 +16,7 @@ RSpec.describe Docs::DeprecationHandling do
# Create dummy YAML data based on file name
allow(YAML).to receive(:load_file) do |file_name|
{
- 'name' => file_name[/[a-z]*\.yml/],
+ 'title' => file_name[/[a-z]*\.yml/],
'announcement_milestone' => file_name[/\d+-\d+/].tr('-', '.')
}
end
@@ -29,7 +29,7 @@ RSpec.describe Docs::DeprecationHandling do
entries = arguments[:entries]
expect(milestones).to eq(['14.10', '14.2'])
- expect(entries.map { |e| e['name'] }).to eq(['a.yml', 'b.yml', 'c.yml'])
+ expect(entries.map { |e| e['title'] }).to eq(['a.yml', 'b.yml', 'c.yml'])
end
end