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
edffc54b
Commit
edffc54b
authored
Apr 06, 2021
by
Ron Chan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed spec of group oauth application
parent
61913512
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/controllers/groups/settings/applications_controller_spec.rb
...ntrollers/groups/settings/applications_controller_spec.rb
+2
-2
No files found.
spec/controllers/groups/settings/applications_controller_spec.rb
View file @
edffc54b
...
...
@@ -72,7 +72,7 @@ RSpec.describe Groups::Settings::ApplicationsController do
end
it
'creates the application'
do
create_params
=
attributes_for
(
:application
,
trusted:
tru
e
,
confidential:
false
,
scopes:
[
'api'
])
create_params
=
attributes_for
(
:application
,
trusted:
fals
e
,
confidential:
false
,
scopes:
[
'api'
])
expect
do
post
:create
,
params:
{
group_id:
group
,
doorkeeper_application:
create_params
}
...
...
@@ -151,7 +151,7 @@ RSpec.describe Groups::Settings::ApplicationsController do
expect
(
response
).
to
redirect_to
(
group_settings_application_path
(
group
,
application
))
expect
(
application
)
.
to
have_attributes
(
redirect_uri:
'http://example.com/'
,
trusted:
tru
e
,
confidential:
false
)
.
to
have_attributes
(
redirect_uri:
'http://example.com/'
,
trusted:
fals
e
,
confidential:
false
)
end
it
'renders the application form on errors'
do
...
...
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