summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2018-11-02 09:48:38 +1300
committerThong Kuah <tkuah@gitlab.com>2018-11-02 09:49:52 +1300
commit3e7d48317353b8e0ffb066643eb4ced2e9455aec (patch)
treedb16bf4e532e3f09e31f4f10ac9c48c8f6e79695 /app
parent1a1fdf8efe1923ba781e978e858c009264020e72 (diff)
downloadgitlab-ce-3e7d48317353b8e0ffb066643eb4ced2e9455aec.tar.gz
Add missing specs for Presenter
Also add missing interface in abstract class.
Diffstat (limited to 'app')
-rw-r--r--app/presenters/clusterable_presenter.rb20
1 files changed, 20 insertions, 0 deletions
diff --git a/app/presenters/clusterable_presenter.rb b/app/presenters/clusterable_presenter.rb
index c857d57b003..61e00b31185 100644
--- a/app/presenters/clusterable_presenter.rb
+++ b/app/presenters/clusterable_presenter.rb
@@ -27,4 +27,24 @@ class ClusterablePresenter < Gitlab::View::Presenter::Delegated
def clusterable_params
raise NotImplementedError
end
+
+ def create_user_clusters_path
+ raise NotImplementedError
+ end
+
+ def create_gcp_clusters_path
+ raise NotImplementedError
+ end
+
+ def cluster_status_cluster_path(cluster, params = {})
+ raise NotImplementedError
+ end
+
+ def install_applications_cluster_path(cluster, application)
+ raise NotImplementedError
+ end
+
+ def cluster_path(cluster, params = {})
+ raise NotImplementedError
+ end
end