Commit cf9ebe30 authored by Stan Hu's avatar Stan Hu

Merge branch 'da-fix-small-typoe-repository-replicator-strategy-shared-examples' into 'master'

Geo - Fix small typo in the shared examples for a repository replicator

See merge request gitlab-org/gitlab!63106
parents 81ba6d88 5280a0a6
......@@ -81,7 +81,7 @@ RSpec.shared_examples 'a repository replicator' do
end
context 'in replicables_for_current_secondary list' do
it 'runs SnippetRepositorySyncService service' do
it 'runs Geo::FrameworkRepositorySyncService service' do
allow(replicator).to receive(:in_replicables_for_current_secondary?).and_return(true)
sync_service = double
......@@ -95,7 +95,7 @@ RSpec.shared_examples 'a repository replicator' do
end
context 'not in replicables_for_current_secondary list' do
it 'runs SnippetRepositorySyncService service' do
it 'does not run Geo::FrameworkRepositorySyncService service' do
allow(replicator).to receive(:in_replicables_for_current_secondary?).and_return(false)
expect(::Geo::FrameworkRepositorySyncService)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment