Fix small typo

parent 9258c973
...@@ -81,7 +81,7 @@ RSpec.shared_examples 'a repository replicator' do ...@@ -81,7 +81,7 @@ RSpec.shared_examples 'a repository replicator' do
end end
context 'in replicables_for_current_secondary list' do 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) allow(replicator).to receive(:in_replicables_for_current_secondary?).and_return(true)
sync_service = double sync_service = double
...@@ -95,7 +95,7 @@ RSpec.shared_examples 'a repository replicator' do ...@@ -95,7 +95,7 @@ RSpec.shared_examples 'a repository replicator' do
end end
context 'not in replicables_for_current_secondary list' do 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) allow(replicator).to receive(:in_replicables_for_current_secondary?).and_return(false)
expect(::Geo::FrameworkRepositorySyncService) 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