Commit b05f9e0f authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fix specs

parent 8c4396c7
...@@ -38,8 +38,8 @@ describe GeoRepositorySyncWorker do ...@@ -38,8 +38,8 @@ describe GeoRepositorySyncWorker do
subject.perform subject.perform
end end
it 'does not perform Geo::ProjectSyncWorker when secondary role is disabled' do it 'does not perform Geo::ProjectSyncWorker when no geo database is configured' do
allow(Gitlab::Geo).to receive(:secondary_role_enabled?) { false } allow(Gitlab::Geo).to receive(:geo_database_configured?) { false }
expect(Geo::ProjectSyncWorker).not_to receive(:perform_in) expect(Geo::ProjectSyncWorker).not_to receive(:perform_in)
......
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