diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-10-31 21:59:40 +0300 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-10-31 21:59:40 +0300 |
commit | 253bf69dda460869741bc6c9d864c789055b8013 (patch) | |
tree | 38fc90dbd0c76bf11c2845aa86130be5c051ef3b /app/controllers/projects/clusters_controller.rb | |
parent | 6a65e2f5f94781a69f3f7fb329483ead6bc81fd9 (diff) |
specs for feature
Diffstat (limited to 'app/controllers/projects/clusters_controller.rb')
-rw-r--r-- | app/controllers/projects/clusters_controller.rb | 12 |
1 files changed, 4 insertions, 8 deletions
diff --git a/app/controllers/projects/clusters_controller.rb b/app/controllers/projects/clusters_controller.rb index b204bd17eec..0f35b4f9c21 100644 --- a/app/controllers/projects/clusters_controller.rb +++ b/app/controllers/projects/clusters_controller.rb @@ -27,14 +27,10 @@ class Projects::ClustersController < Projects::ApplicationController end def new - # @cluster = Clusters::Cluster.new( - # platform_type: :kubernetes, - # provider_type: :gcp).tap do |cluster| - # cluster.build_provider_gcp - # cluster.build_platform_kubernetes - # cluster.projects << project - # end - @cluster = Clusters::Cluster.new + @cluster = Clusters::Cluster.new.tap do |cluster| + cluster.build_provider_gcp + cluster.build_platform_kubernetes + end end def create |