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
429b9388
Commit
429b9388
authored
Jul 30, 2018
by
Grzegorz Bizon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix flaky tests in groups and project mirrors specs
parent
bd4413eb
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
1 deletion
+3
-1
ee/spec/controllers/admin/groups_controller_spec.rb
ee/spec/controllers/admin/groups_controller_spec.rb
+2
-0
ee/spec/requests/projects/mirrors_controller_spec.rb
ee/spec/requests/projects/mirrors_controller_spec.rb
+1
-1
No files found.
ee/spec/controllers/admin/groups_controller_spec.rb
View file @
429b9388
...
...
@@ -42,6 +42,8 @@ describe Admin::GroupsController do
context
'PUT update'
do
context
'no license'
do
it
'does not update the project_creation_level successfully'
do
stub_licensed_features
(
project_creation_level:
false
)
expect
do
post
:update
,
id:
group
.
to_param
,
group:
{
project_creation_level:
::
EE
::
Gitlab
::
Access
::
NO_ONE_PROJECT_ACCESS
}
end
.
not_to
change
{
group
.
reload
.
project_creation_level
}
...
...
ee/spec/requests/projects/mirrors_controller_spec.rb
View file @
429b9388
...
...
@@ -20,7 +20,7 @@ describe Projects::MirrorsController do
project:
{
mirror:
'1'
,
import_url:
''
,
mirror_user_id:
'1'
,
mirror_user_id:
user
.
id
,
mirror_trigger_builds:
'0'
}
...
...
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