summaryrefslogtreecommitdiff
path: root/spec/support/cycle_analytics_helpers
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-05-15 15:08:04 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-05-15 15:08:04 +0000
commitc4c1fc5fe7c756fc6f8f79eb1624b1bbe4fe2d69 (patch)
tree8c95e39fc4956cdd9178c46ea85cbeeeac3bc360 /spec/support/cycle_analytics_helpers
parent927df95cc4453bdacbc59960df32008b02c4e28a (diff)
downloadgitlab-ce-c4c1fc5fe7c756fc6f8f79eb1624b1bbe4fe2d69.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/support/cycle_analytics_helpers')
-rw-r--r--spec/support/cycle_analytics_helpers/test_generation.rb4
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/support/cycle_analytics_helpers/test_generation.rb b/spec/support/cycle_analytics_helpers/test_generation.rb
index 34018263339..c577e5cc665 100644
--- a/spec/support/cycle_analytics_helpers/test_generation.rb
+++ b/spec/support/cycle_analytics_helpers/test_generation.rb
@@ -29,6 +29,10 @@ module CycleAnalyticsHelpers
scenarios.each do |start_time_conditions, end_time_conditions|
let_it_be(:other_project) { create(:project, :repository) }
+ before do
+ other_project.add_developer(self.user)
+ end
+
context "start condition: #{start_time_conditions.map(&:first).to_sentence}" do
context "end condition: #{end_time_conditions.map(&:first).to_sentence}" do
it "finds the median of available durations between the two conditions", :sidekiq_might_not_need_inline do