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:
Diffstat (limited to 'spec/serializers/analytics_issue_entity_spec.rb')
-rw-r--r--spec/serializers/analytics_issue_entity_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/serializers/analytics_issue_entity_spec.rb b/spec/serializers/analytics_issue_entity_spec.rb
index 447c5e7d02a..bc5cab638cd 100644
--- a/spec/serializers/analytics_issue_entity_spec.rb
+++ b/spec/serializers/analytics_issue_entity_spec.rb
@@ -32,6 +32,14 @@ RSpec.describe AnalyticsIssueEntity do
expect(subject).to include(:author)
end
+ it 'contains the project path' do
+ expect(subject).to include(:project_path)
+ end
+
+ it 'contains the namespace full path' do
+ expect(subject).to include(:namespace_full_path)
+ end
+
it 'does not contain sensitive information' do
expect(subject).not_to include(/token/)
expect(subject).not_to include(/variables/)