Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
a117fc17
Commit
a117fc17
authored
Jul 26, 2019
by
Tanya Pazitny
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Change qa-* class references to rspec-*
parent
2219b140
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
app/views/projects/edit.html.haml
app/views/projects/edit.html.haml
+1
-1
spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb
...cts/settings/user_manages_merge_requests_settings_spec.rb
+1
-1
No files found.
app/views/projects/edit.html.haml
View file @
a117fc17
...
...
@@ -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
...
...
spec/features/projects/settings/user_manages_merge_requests_settings_spec.rb
View file @
a117fc17
...
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment