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
Boxiang Sun
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
Hide 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
factory
:cluster_applications_helm
,
class:
Clusters
::
Applications
::
Helm
do
cluster
factory: :cluster
cluster
factory: :cluster
,
strategy: :provided_by_gcp
trait
:installable
do
cluster
status
0
status
:installable
end
trait
:scheduled
do
cluster
status
1
status
:scheduled
end
trait
:installing
do
cluster
status
2
status
:installing
end
trait
:installed
do
cluster
status
3
status
:installed
end
trait
:errored
do
cluster
status
(
-
1
)
status
:errored
status_reason
'something went wrong'
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