Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThong Kuah <tkuah@gitlab.com>2018-11-02 00:38:17 +0300
committerThong Kuah <tkuah@gitlab.com>2018-11-02 00:40:56 +0300
commit2c6a3f6a1a90fb4eb780e081a6673fd2e90c7dc1 (patch)
treead043bd526b2ba71bcba7038a91f71763f581dfd /spec/presenters
parent3e7d48317353b8e0ffb066643eb4ced2e9455aec (diff)
Remove method as using nested resource routes
We introduced hidden_clusterable_fields in this MR but it is no longer needed as we have gone back to nested resource routes which should provide the params such as `project_id`.
Diffstat (limited to 'spec/presenters')
-rw-r--r--spec/presenters/project_clusterable_presenter_spec.rb6
1 files changed, 0 insertions, 6 deletions
diff --git a/spec/presenters/project_clusterable_presenter_spec.rb b/spec/presenters/project_clusterable_presenter_spec.rb
index b12143146f9..c50d90ae1e8 100644
--- a/spec/presenters/project_clusterable_presenter_spec.rb
+++ b/spec/presenters/project_clusterable_presenter_spec.rb
@@ -74,10 +74,4 @@ describe ProjectClusterablePresenter do
it { is_expected.to eq(project_cluster_path(project, cluster)) }
end
-
- describe '#clusterable_params' do
- subject { presenter.clusterable_params }
-
- it { is_expected.to eq({ project_id: project.to_param, namespace_id: project.namespace.to_param }) }
- end
end