Merge branch 'tp-qtt182-6' into 'master'
Change qa-merge-request-settings to rspec-merge-request-settings Closes gitlab-org/quality/team-tasks#182 See merge request gitlab-org/gitlab-ce!31207
This commit is contained in:
commit
2a35791a5a
2 changed files with 2 additions and 2 deletions
|
@ -23,7 +23,7 @@
|
|||
.js-project-permissions-form
|
||||
= f.submit _('Save changes'), class: "btn btn-success"
|
||||
|
||||
%section.qa-merge-request-settings.settings.merge-requests-feature.no-animate#js-merge-request-settings{ class: [('expanded' if expanded), ('hidden' if @project.project_feature.send(:merge_requests_access_level) == 0)] }
|
||||
%section.qa-merge-request-settings.rspec-merge-request-settings.settings.merge-requests-feature.no-animate#js-merge-request-settings{ class: [('expanded' if expanded), ('hidden' if @project.project_feature.send(:merge_requests_access_level) == 0)] }
|
||||
.settings-header
|
||||
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only= _('Merge requests')
|
||||
%button.btn.btn-default.js-settings-toggle{ type: 'button' }= expanded ? _('Collapse') : _('Expand')
|
||||
|
|
|
@ -387,7 +387,7 @@ describe 'Project' do
|
|||
end
|
||||
|
||||
it_behaves_like 'dirty submit form', [{ form: '.js-general-settings-form', input: 'input[name="project[name]"]' },
|
||||
{ form: '.qa-merge-request-settings', input: '#project_printing_merge_request_link_enabled' }]
|
||||
{ form: '.rspec-merge-request-settings', input: '#project_printing_merge_request_link_enabled' }]
|
||||
end
|
||||
|
||||
def remove_with_confirm(button_text, confirm_with)
|
||||
|
|
Loading…
Reference in a new issue