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
36d69130
Commit
36d69130
authored
Nov 07, 2017
by
Shinya Maeda
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix cluster_applications_helm factory as cluster always has been cerated
parent
d89d514e
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
11 deletions
+6
-11
spec/factories/clusters/applications/helm.rb
spec/factories/clusters/applications/helm.rb
+6
-11
No files found.
spec/factories/clusters/applications/helm.rb
View file @
36d69130
FactoryGirl
.
define
do
FactoryGirl
.
define
do
factory
:cluster_applications_helm
,
class:
Clusters
::
Applications
::
Helm
do
factory
:cluster_applications_helm
,
class:
Clusters
::
Applications
::
Helm
do
cluster
factory: :cluster
cluster
factory: :cluster
,
strategy: :provided_by_gcp
trait
:installable
do
trait
:installable
do
cluster
status
:installable
status
0
end
end
trait
:scheduled
do
trait
:scheduled
do
cluster
status
:scheduled
status
1
end
end
trait
:installing
do
trait
:installing
do
cluster
status
:installing
status
2
end
end
trait
:installed
do
trait
:installed
do
cluster
status
:installed
status
3
end
end
trait
:errored
do
trait
:errored
do
cluster
status
:errored
status
(
-
1
)
status_reason
'something went wrong'
status_reason
'something went wrong'
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