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
945a5102
Commit
945a5102
authored
Jan 31, 2019
by
syasonik
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add nested param to ee env controller specs
parent
cf886916
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ee/spec/controllers/projects/environments_controller_spec.rb
ee/spec/controllers/projects/environments_controller_spec.rb
+2
-2
No files found.
ee/spec/controllers/projects/environments_controller_spec.rb
View file @
945a5102
...
@@ -41,7 +41,7 @@ describe Projects::EnvironmentsController do
...
@@ -41,7 +41,7 @@ describe Projects::EnvironmentsController do
before
do
before
do
stub_licensed_features
(
deploy_board:
true
)
stub_licensed_features
(
deploy_board:
true
)
get
:index
,
params:
environment_params
(
format: :json
,
scope: :available
)
get
:index
,
params:
environment_params
(
format: :json
,
nested:
true
,
scope: :available
)
end
end
it
'responds with matching schema'
do
it
'responds with matching schema'
do
...
@@ -63,7 +63,7 @@ describe Projects::EnvironmentsController do
...
@@ -63,7 +63,7 @@ describe Projects::EnvironmentsController do
before
do
before
do
stub_licensed_features
(
deploy_board:
false
)
stub_licensed_features
(
deploy_board:
false
)
get
:index
,
params:
environment_params
(
format: :json
)
get
:index
,
params:
environment_params
(
format: :json
,
nested:
true
)
end
end
it
'does not return the rollout_status_path attribute'
do
it
'does not return the rollout_status_path attribute'
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