diff options
author | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-05-03 15:19:21 +0100 |
---|---|---|
committer | Tiago Botelho <tiagonbotelho@hotmail.com> | 2018-05-07 12:00:13 +0200 |
commit | 961255b107370a1350f91d0835cf0e849d237f7d (patch) | |
tree | 74690c9c0df07f86a6acccc5b7ebc51d310fefa2 /spec/models/remote_mirror_spec.rb | |
parent | 9a13059332a0c81b3a953f57bb9e40346eba951d (diff) | |
download | gitlab-ce-961255b107370a1350f91d0835cf0e849d237f7d.tar.gz |
Adds remote mirror table migration
Diffstat (limited to 'spec/models/remote_mirror_spec.rb')
-rw-r--r-- | spec/models/remote_mirror_spec.rb | 8 |
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 |