diff options
Diffstat (limited to 'spec/presenters')
-rw-r--r-- | spec/presenters/group_clusterable_presenter_spec.rb | 6 | ||||
-rw-r--r-- | spec/presenters/project_clusterable_presenter_spec.rb | 6 |
2 files changed, 12 insertions, 0 deletions
diff --git a/spec/presenters/group_clusterable_presenter_spec.rb b/spec/presenters/group_clusterable_presenter_spec.rb index fa77273f6aa..cb623fa1fa4 100644 --- a/spec/presenters/group_clusterable_presenter_spec.rb +++ b/spec/presenters/group_clusterable_presenter_spec.rb @@ -82,4 +82,10 @@ describe GroupClusterablePresenter do it { is_expected.to eq(group_cluster_path(group, cluster)) } end + + describe '#clusters_path' do + subject { presenter.clusters_path } + + it { is_expected.to eq(group_clusters_path(group)) } + end end diff --git a/spec/presenters/project_clusterable_presenter_spec.rb b/spec/presenters/project_clusterable_presenter_spec.rb index 6786a84243f..e5857f75aed 100644 --- a/spec/presenters/project_clusterable_presenter_spec.rb +++ b/spec/presenters/project_clusterable_presenter_spec.rb @@ -82,4 +82,10 @@ describe ProjectClusterablePresenter do it { is_expected.to eq(project_cluster_path(project, cluster)) } end + + describe '#clusters_path' do + subject { presenter.clusters_path } + + it { is_expected.to eq(project_clusters_path(project)) } + end end |