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
8a208fa6
Commit
8a208fa6
authored
May 26, 2020
by
Nikita Bulai
Committed by
Nikita Bulai
May 28, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add GitLab issue link to specs
parent
5bbcc35b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
spec/requests/api/oauth_tokens_spec.rb
spec/requests/api/oauth_tokens_spec.rb
+3
-1
No files found.
spec/requests/api/oauth_tokens_spec.rb
View file @
8a208fa6
...
@@ -39,6 +39,7 @@ describe 'OAuth tokens' do
...
@@ -39,6 +39,7 @@ describe 'OAuth tokens' do
context
'when user does not have 2FA enabled'
do
context
'when user does not have 2FA enabled'
do
# NOTE: using ROPS grant flow without client credentials will be deprecated
# NOTE: using ROPS grant flow without client credentials will be deprecated
# and removed in the next version of Doorkeeper.
# and removed in the next version of Doorkeeper.
# See https://gitlab.com/gitlab-org/gitlab/-/issues/219137
context
'when no client credentials provided'
do
context
'when no client credentials provided'
do
it
'creates an access token'
do
it
'creates an access token'
do
user
=
create
(
:user
)
user
=
create
(
:user
)
...
@@ -64,7 +65,8 @@ describe 'OAuth tokens' do
...
@@ -64,7 +65,8 @@ describe 'OAuth tokens' do
context
'with invalid credentials'
do
context
'with invalid credentials'
do
it
'does not create an access token'
do
it
'does not create an access token'
do
# NOTE: remove this after update to Doorkeeper 5.5 or newer
# NOTE: remove this after update to Doorkeeper 5.5 or newer, see
# https://gitlab.com/gitlab-org/gitlab/-/issues/219137
pending
'Enable this example after upgrading Doorkeeper to 5.5 or newer'
pending
'Enable this example after upgrading Doorkeeper to 5.5 or newer'
user
=
create
(
:user
)
user
=
create
(
:user
)
...
...
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