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