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:
authorTiago Botelho <tiagonbotelho@hotmail.com>2018-05-03 17:19:21 +0300
committerTiago Botelho <tiagonbotelho@hotmail.com>2018-05-07 13:00:13 +0300
commit961255b107370a1350f91d0835cf0e849d237f7d (patch)
tree74690c9c0df07f86a6acccc5b7ebc51d310fefa2 /spec/models/remote_mirror_spec.rb
parent9a13059332a0c81b3a953f57bb9e40346eba951d (diff)
Adds remote mirror table migration
Diffstat (limited to 'spec/models/remote_mirror_spec.rb')
-rw-r--r--spec/models/remote_mirror_spec.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/models/remote_mirror_spec.rb b/spec/models/remote_mirror_spec.rb
index d6181ca0783..a80800c6c92 100644
--- a/spec/models/remote_mirror_spec.rb
+++ b/spec/models/remote_mirror_spec.rb
@@ -164,14 +164,6 @@ describe RemoteMirror do
end
end
- context 'as a Geo secondary' do
- it 'returns nil' do
- allow(Gitlab::Geo).to receive(:secondary?).and_return(true)
-
- expect(remote_mirror.sync).to be_nil
- end
- end
-
context 'with remote mirroring enabled' do
context 'with only protected branches enabled' do
context 'when it did not update in the last minute' do