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
5307ccec
Commit
5307ccec
authored
Nov 15, 2019
by
Alessio Caiazza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the failing specs
parent
e6d9fef2
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
0 deletions
+7
-0
ee/spec/finders/packages/group_packages_finder_spec.rb
ee/spec/finders/packages/group_packages_finder_spec.rb
+7
-0
No files found.
ee/spec/finders/packages/group_packages_finder_spec.rb
View file @
5307ccec
...
...
@@ -90,6 +90,10 @@ describe Packages::GroupPackagesFinder do
end
it
'returns group packages'
do
package1
=
create
(
:maven_package
,
project:
project
)
package2
=
create
(
:maven_package
,
project:
project
)
create
(
:maven_package
)
expect
(
finder
.
execute
).
to
match_array
([
package1
,
package2
])
end
end
...
...
@@ -100,6 +104,9 @@ describe Packages::GroupPackagesFinder do
builds_access_level:
ProjectFeature
::
PRIVATE
,
merge_requests_access_level:
ProjectFeature
::
PRIVATE
,
repository_access_level:
ProjectFeature
::
PRIVATE
)
create
(
:maven_package
,
project:
project
)
create
(
:maven_package
)
end
it
'filters out the project if the user doesn\'t have permission'
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