-
- Downloads
Validate against mixing of group and project clusters
If project type clusters, it should only have projects assigned. Similarly with groups.
Showing
- app/models/clusters/cluster.rb 21 additions, 0 deletionsapp/models/clusters/cluster.rb
- app/models/concerns/deployment_platform.rb 1 addition, 0 deletionsapp/models/concerns/deployment_platform.rb
- app/services/clusters/create_service.rb 2 additions, 2 deletionsapp/services/clusters/create_service.rb
- db/migrate/20181017001059_add_cluster_type_to_clusters.rb 11 additions, 0 deletionsdb/migrate/20181017001059_add_cluster_type_to_clusters.rb
- db/schema.rb 2 additions, 1 deletiondb/schema.rb
- spec/factories/clusters/clusters.rb 9 additions, 0 deletionsspec/factories/clusters/clusters.rb
- spec/models/clusters/cluster_spec.rb 40 additions, 0 deletionsspec/models/clusters/cluster_spec.rb
Please register or sign in to comment