summaryrefslogtreecommitdiff
path: root/spec/support
diff options
context:
space:
mode:
authorShinya Maeda <shinya@gitlab.com>2017-09-01 01:51:55 +0900
committerShinya Maeda <shinya@gitlab.com>2017-09-03 23:49:11 +0900
commit5547baa3eb1979e8de36f00174c1f98ddc3dabd0 (patch)
tree47c5ca6395c916a5206217a97683b37718693187 /spec/support
parentce7c0ac3dbdc3f2f2f34b39bf5ef3755e79e9d42 (diff)
downloadgitlab-ce-5547baa3eb1979e8de36f00174c1f98ddc3dabd0.tar.gz
Fix spec
Diffstat (limited to 'spec/support')
-rw-r--r--spec/support/cycle_analytics_helpers.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/support/cycle_analytics_helpers.rb b/spec/support/cycle_analytics_helpers.rb
index 39586d37e93..e6b66c4baed 100644
--- a/spec/support/cycle_analytics_helpers.rb
+++ b/spec/support/cycle_analytics_helpers.rb
@@ -80,7 +80,8 @@ module CycleAnalyticsHelpers
sha: project.repository.commit('master').sha,
ref: 'master',
source: :push,
- project: project)
+ project: project,
+ protected: true)
end
def new_dummy_job(environment)
@@ -93,7 +94,8 @@ module CycleAnalyticsHelpers
ref: 'master',
tag: false,
name: 'dummy',
- pipeline: dummy_pipeline)
+ pipeline: dummy_pipeline,
+ protected: true)
end
end