diff options
author | Tanya Pazitny <tpazitny@gitlab.com> | 2019-07-26 14:51:59 -0700 |
---|---|---|
committer | Tanya Pazitny <tpazitny@gitlab.com> | 2019-07-26 14:51:59 -0700 |
commit | a117fc178e08b46a0ee8640b97450183f4e83163 (patch) | |
tree | 38a63ab55032822f2d511b6917b97ac8e49d2a95 | |
parent | 2219b140b6873b893a3cac2cae195b929a20f5aa (diff) | |
download | gitlab-ce-a117fc178e08b46a0ee8640b97450183f4e83163.tar.gz |
Change qa-* class references to rspec-*tp-qtt182-4
-rw-r--r-- | app/views/projects/edit.html.haml | 2 | ||||
-rw-r--r-- | spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/app/views/projects/edit.html.haml b/app/views/projects/edit.html.haml index 3403564992e..ba412b550f1 100644 --- a/app/views/projects/edit.html.haml +++ b/app/views/projects/edit.html.haml @@ -35,7 +35,7 @@ = form_for [@project.namespace.becomes(Namespace), @project], remote: true, html: { multipart: true, class: "merge-request-settings-form js-mr-settings-form" }, authenticity_token: true do |f| %input{ name: 'update_section', type: 'hidden', value: 'js-merge-request-settings' } = render 'projects/merge_request_settings', form: f - = f.submit _('Save changes'), class: "btn btn-success qa-save-merge-request-changes" + = f.submit _('Save changes'), class: "btn btn-success qa-save-merge-request-changes rspec-save-merge-request-changes" = render_if_exists 'projects/merge_request_approvals_settings', expanded: expanded diff --git a/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb b/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb index 0739726f52c..9f09c5c4501 100644 --- a/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb +++ b/spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb @@ -94,7 +94,7 @@ describe 'Projects > Settings > User manages merge request settings' do it 'when unchecked sets :printing_merge_request_link_enabled to false' do uncheck('project_printing_merge_request_link_enabled') within('.merge-request-settings-form') do - find('.qa-save-merge-request-changes') + find('.rspec-save-merge-request-changes') click_on('Save changes') end |