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
7370f60f
Commit
7370f60f
authored
Dec 11, 2020
by
Alex Kalderimis
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Review: Apply suggested changes
parent
4e501c94
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb
...graphql/resolvers/board_groupings/epics_resolvers_spec.rb
+1
-0
spec/requests/api/graphql/project/terraform/states_spec.rb
spec/requests/api/graphql/project/terraform/states_spec.rb
+7
-8
No files found.
ee/spec/graphql/resolvers/board_groupings/epics_resolvers_spec.rb
View file @
7370f60f
...
...
@@ -83,6 +83,7 @@ RSpec.describe Resolvers::BoardGroupings::EpicsResolver do
it
'accepts negated issue params'
do
filters
=
{
label_name:
[
'foo'
],
not:
{
label_name:
%w(foo bar)
}
}
expect
(
Boards
::
Issues
::
ListService
).
to
receive
(
:new
).
with
(
group_board
.
resource_parent
,
current_user
,
...
...
spec/requests/api/graphql/project/terraform/states_spec.rb
View file @
7370f60f
...
...
@@ -48,21 +48,20 @@ RSpec.describe 'query terraform states' do
let
(
:current_user
)
{
project
.
creator
}
let
(
:data
)
{
graphql_data
.
dig
(
'project'
,
'terraformStates'
)
}
let
(
:download_path
)
do
expose_path
(
before
do
post_graphql
(
query
,
current_user:
current_user
)
end
it
'returns terraform state data'
do
download_path
=
expose_path
(
api_v4_projects_terraform_state_versions_path
(
id:
project
.
id
,
name:
terraform_state
.
name
,
serial:
latest_version
.
version
)
)
end
before
do
post_graphql
(
query
,
current_user:
current_user
)
end
it
'returns terraform state data'
do
expect
(
data
[
'nodes'
]).
to
contain_exactly
({
'id'
=>
global_id_of
(
terraform_state
),
'name'
=>
terraform_state
.
name
,
...
...
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