From 2828f81d2a41f46b89e13dc057b982f27aeee547 Mon Sep 17 00:00:00 2001 From: GitLab Bot Date: Fri, 1 Jul 2022 12:08:08 +0000 Subject: Add latest changes from gitlab-org/gitlab@master --- spec/helpers/commits_helper_spec.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'spec/helpers/commits_helper_spec.rb') diff --git a/spec/helpers/commits_helper_spec.rb b/spec/helpers/commits_helper_spec.rb index 961e7688202..b5b572e9719 100644 --- a/spec/helpers/commits_helper_spec.rb +++ b/spec/helpers/commits_helper_spec.rb @@ -94,7 +94,7 @@ RSpec.describe CommitsHelper do it 'renders the correct select-rendered button' do expect(node[:title]).to eq('Display rendered diff') expect(node['data-file-hash']).to eq('abc') - expect(node['data-diff-toggle-entity']).to eq('toShowBtn') + expect(node['data-diff-toggle-entity']).to eq('renderedButton') expect(node.xpath("//a/svg")[0]["data-testid"]).to eq('doc-text-icon') end end @@ -105,7 +105,7 @@ RSpec.describe CommitsHelper do it 'renders the correct select-raw button' do expect(node[:title]).to eq('Display raw diff') expect(node['data-file-hash']).to eq('abc') - expect(node['data-diff-toggle-entity']).to eq('toHideBtn') + expect(node['data-diff-toggle-entity']).to eq('rawButton') expect(node.xpath("//a/svg")[0]["data-testid"]).to eq('doc-code-icon') end end -- cgit v1.2.1