diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-01 12:08:08 +0000 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2022-07-01 12:08:08 +0000 |
commit | 2828f81d2a41f46b89e13dc057b982f27aeee547 (patch) | |
tree | 742120cc334d018efe38a3974fd59a67869acc6d /spec/helpers/commits_helper_spec.rb | |
parent | 4def415fbf45e0693b17ea418d378d62ab03a146 (diff) | |
download | gitlab-ce-2828f81d2a41f46b89e13dc057b982f27aeee547.tar.gz |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/helpers/commits_helper_spec.rb')
-rw-r--r-- | spec/helpers/commits_helper_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
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 |