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
db4598f5
Commit
db4598f5
authored
Sep 30, 2020
by
Albert Salim
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Apply 1 suggestion(s) to 1 file(s)
parent
a10e1124
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
ee/spec/lib/gitlab/graphql/aggregations/vulnerabilities/lazy_user_notes_count_aggregate_spec.rb
...s/vulnerabilities/lazy_user_notes_count_aggregate_spec.rb
+1
-1
No files found.
ee/spec/lib/gitlab/graphql/aggregations/vulnerabilities/lazy_user_notes_count_aggregate_spec.rb
View file @
db4598f5
...
...
@@ -20,7 +20,7 @@ RSpec.describe Gitlab::Graphql::Aggregations::Vulnerabilities::LazyUserNotesCoun
it
'uses lazy_user_notes_count_aggregate to collect aggregates'
do
subject
=
described_class
.
new
({
lazy_user_notes_count_aggregate:
{
pending_vulnerability_ids:
[
10
,
20
,
30
].
to_set
,
loaded_objects:
{}
}
},
vulnerability
)
expect
(
subject
.
lazy_state
[
:pending_vulnerability_ids
]).
to
match
Set
[
10
,
20
,
30
,
vulnerability
.
id
]
expect
(
subject
.
lazy_state
[
:pending_vulnerability_ids
]).
to
match
_array
[
10
,
20
,
30
,
vulnerability
.
id
]
expect
(
subject
.
vulnerability
).
to
match
vulnerability
end
end
...
...
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