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/services/issues/close_service_spec.rb')
-rw-r--r--spec/services/issues/close_service_spec.rb13
1 files changed, 0 insertions, 13 deletions
diff --git a/spec/services/issues/close_service_spec.rb b/spec/services/issues/close_service_spec.rb
index d8bcd8008ce..86377e054c1 100644
--- a/spec/services/issues/close_service_spec.rb
+++ b/spec/services/issues/close_service_spec.rb
@@ -163,19 +163,6 @@ describe Issues::CloseService do
expect(issue.metrics.first_mentioned_in_commit_at).to be_nil
end
end
-
- context 'when `store_first_mentioned_in_commit_on_issue_close` feature flag is off' do
- before do
- stub_feature_flags(store_first_mentioned_in_commit_on_issue_close: { enabled: false, thing: issue.project })
- end
-
- it 'does not update the metrics' do
- subject
-
- expect(described_class).not_to receive(:store_first_mentioned_in_commit_at)
- expect(issue.metrics.first_mentioned_in_commit_at).to be_nil
- end
- end
end
end