Commit bc0574cd authored by digitalMoksha's avatar digitalMoksha

fix spec

parent dac5188d
...@@ -37,6 +37,7 @@ describe Gitlab::Mirror do ...@@ -37,6 +37,7 @@ describe Gitlab::Mirror do
expect(Sidekiq::Cron::Job.find("update_all_mirrors_worker")).to be_enabled expect(Sidekiq::Cron::Job.find("update_all_mirrors_worker")).to be_enabled
allow(Gitlab::Geo).to receive(:connected?).and_return(true)
allow(Gitlab::Geo).to receive(:secondary?).and_return(true) allow(Gitlab::Geo).to receive(:secondary?).and_return(true)
described_class.configure_cron_job! described_class.configure_cron_job!
......
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