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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
a194d312
Commit
a194d312
authored
Nov 07, 2017
by
Alessio Caiazza
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix Projects::Clusters::ApplicationsController failures
parent
02878cd9
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
spec/controllers/projects/clusters/applications_controller_spec.rb
...rollers/projects/clusters/applications_controller_spec.rb
+2
-3
No files found.
spec/controllers/projects/clusters/applications_controller_spec.rb
View file @
a194d312
...
...
@@ -8,7 +8,7 @@ describe Projects::Clusters::ApplicationsController do
end
describe
'POST create'
do
let
(
:cluster
)
{
create
(
:cluster
,
:project
,
:provid
ing
_by_gcp
)
}
let
(
:cluster
)
{
create
(
:cluster
,
:project
,
:provid
ed
_by_gcp
)
}
let
(
:project
)
{
cluster
.
project
}
let
(
:application
)
{
'helm'
}
let
(
:params
)
{
{
application:
application
,
id:
cluster
.
id
}
}
...
...
@@ -52,8 +52,7 @@ describe Projects::Clusters::ApplicationsController do
context
'when application is already installing'
do
before
do
other
=
current_application
.
new
(
cluster:
cluster
)
other
.
make_installing!
create
(
:cluster_applications_helm
,
:installing
,
cluster:
cluster
)
end
it
'returns 400'
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