diff options
author | Shinya Maeda <shinya@gitlab.com> | 2017-09-01 01:51:55 +0900 |
---|---|---|
committer | Shinya Maeda <shinya@gitlab.com> | 2017-09-03 23:49:11 +0900 |
commit | 5547baa3eb1979e8de36f00174c1f98ddc3dabd0 (patch) | |
tree | 47c5ca6395c916a5206217a97683b37718693187 /spec/support | |
parent | ce7c0ac3dbdc3f2f2f34b39bf5ef3755e79e9d42 (diff) | |
download | gitlab-ce-5547baa3eb1979e8de36f00174c1f98ddc3dabd0.tar.gz |
Fix spec
Diffstat (limited to 'spec/support')
-rw-r--r-- | spec/support/cycle_analytics_helpers.rb | 6 |
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 |