Commit 1998bee5 authored by Stan Hu's avatar Stan Hu

Fix Rubocop error with spec/models/geo_node_status_spec.rb

parent ba2749f6
......@@ -205,7 +205,7 @@ describe GeoNodeStatus do
end
it "doesn't attempt to retrieve cursor if primary" do
event = create(:geo_event_log_state)
create(:geo_event_log_state)
expect(Gitlab::Geo).to receive(:secondary?).exactly(2).times.and_return(false)
expect(subject.cursor_last_event_date).to eq(nil)
......
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