Commit f78b0583 authored by Stan Hu's avatar Stan Hu

Fix secondary stub in Geo helper

parent 8e12d060
...@@ -11,7 +11,7 @@ module EE ...@@ -11,7 +11,7 @@ module EE
def stub_secondary_node def stub_secondary_node
allow(::Gitlab::Geo).to receive(:primary?).and_return(false) allow(::Gitlab::Geo).to receive(:primary?).and_return(false)
allow(::Gitlab::Geo).to receive(:secondary?).and_return(false) allow(::Gitlab::Geo).to receive(:secondary?).and_return(true)
end end
end end
end end
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