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
27da119c
Commit
27da119c
authored
Sep 06, 2019
by
GitLab Bot
Browse files
Options
Browse Files
Download
Plain Diff
Automatic merge of gitlab-org/gitlab-ce master
parents
61ed0ba7
05fca5ff
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
9 additions
and
5 deletions
+9
-5
doc/user/project/merge_requests/index.md
doc/user/project/merge_requests/index.md
+2
-0
spec/controllers/registrations_controller_spec.rb
spec/controllers/registrations_controller_spec.rb
+7
-5
No files found.
doc/user/project/merge_requests/index.md
View file @
27da119c
...
@@ -398,6 +398,8 @@ You can also use this push option in addition to the
...
@@ -398,6 +398,8 @@ You can also use this push option in addition to the
### Add or remove labels using git push options
### Add or remove labels using git push options
> [Introduced](https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/31831) in GitLab 12.3.
You can add or remove labels from merge requests using push options.
You can add or remove labels from merge requests using push options.
For example, to add two labels to an existing merge request, use the
For example, to add two labels to an existing merge request, use the
...
...
spec/controllers/registrations_controller_spec.rb
View file @
27da119c
...
@@ -83,6 +83,13 @@ describe RegistrationsController do
...
@@ -83,6 +83,13 @@ describe RegistrationsController do
stub_application_setting
(
recaptcha_enabled:
true
)
stub_application_setting
(
recaptcha_enabled:
true
)
end
end
after
do
# Avoid test ordering issue and ensure `verify_recaptcha` returns true
unless
Recaptcha
.
configuration
.
skip_verify_env
.
include?
(
'test'
)
Recaptcha
.
configuration
.
skip_verify_env
<<
'test'
end
end
it
'displays an error when the reCAPTCHA is not solved'
do
it
'displays an error when the reCAPTCHA is not solved'
do
fail_recaptcha
fail_recaptcha
...
@@ -93,11 +100,6 @@ describe RegistrationsController do
...
@@ -93,11 +100,6 @@ describe RegistrationsController do
end
end
it
'redirects to the dashboard when the recaptcha is solved'
do
it
'redirects to the dashboard when the recaptcha is solved'
do
# Avoid test ordering issue and ensure `verify_recaptcha` returns true
unless
Recaptcha
.
configuration
.
skip_verify_env
.
include?
(
'test'
)
Recaptcha
.
configuration
.
skip_verify_env
<<
'test'
end
post
(
:create
,
params:
user_params
)
post
(
:create
,
params:
user_params
)
expect
(
flash
[
:notice
]).
to
include
'Welcome! You have signed up successfully.'
expect
(
flash
[
:notice
]).
to
include
'Welcome! You have signed up successfully.'
...
...
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