summaryrefslogtreecommitdiff
path: root/spec/serializers/analytics_build_entity_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/serializers/analytics_build_entity_spec.rb')
-rw-r--r--spec/serializers/analytics_build_entity_spec.rb8
1 files changed, 8 insertions, 0 deletions
diff --git a/spec/serializers/analytics_build_entity_spec.rb b/spec/serializers/analytics_build_entity_spec.rb
index 09804681f5d..b5678d91248 100644
--- a/spec/serializers/analytics_build_entity_spec.rb
+++ b/spec/serializers/analytics_build_entity_spec.rb
@@ -27,6 +27,14 @@ RSpec.describe AnalyticsBuildEntity 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/)