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:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-03-12 18:09:39 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2020-03-12 18:09:39 +0300
commitdc889678d1de8c09310b2f8f9742bb6c78a6f1a4 (patch)
tree70945aa6721a271fc8057efa13c3216a03fbac45 /spec/workers
parentcd52759ee33051b8ad7b88b02ba7954e4fad7018 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'spec/workers')
-rw-r--r--spec/workers/post_receive_spec.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/spec/workers/post_receive_spec.rb b/spec/workers/post_receive_spec.rb
index 2a2d0f5a857..ac17919d7f0 100644
--- a/spec/workers/post_receive_spec.rb
+++ b/spec/workers/post_receive_spec.rb
@@ -421,24 +421,6 @@ describe PostReceive do
perform
end
end
-
- it 'updates the snippet db information' do
- blob = snippet.blobs.first
-
- expect(snippet).to receive(:update).with(file_name: blob.path, content: blob.data)
-
- perform
- end
-
- context 'when snippet does not have any blob' do
- it 'does not update snippet db information' do
- allow(snippet).to receive(:blobs).and_return([])
-
- expect(snippet).not_to receive(:update)
-
- perform
- end
- end
end
end