summaryrefslogtreecommitdiff
path: root/spec/serializers/cluster_basic_entity_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/serializers/cluster_basic_entity_spec.rb')
-rw-r--r--spec/serializers/cluster_basic_entity_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/serializers/cluster_basic_entity_spec.rb b/spec/serializers/cluster_basic_entity_spec.rb
index be03ee91784..8c3307a1837 100644
--- a/spec/serializers/cluster_basic_entity_spec.rb
+++ b/spec/serializers/cluster_basic_entity_spec.rb
@@ -24,7 +24,7 @@ describe ClusterBasicEntity do
it 'exposes the cluster details' do
expect(subject[:name]).to eq('the-cluster')
- expect(subject[:path]).to eq("/#{project.full_path}/clusters/#{cluster.id}")
+ expect(subject[:path]).to eq("/#{project.full_path}/-/clusters/#{cluster.id}")
end
context 'when the user does not have permission to view the cluster' do