Commit 2ebe685b authored by Gabriel Mazetto's avatar Gabriel Mazetto

Fixes geo specs

parent 2f246b9e
...@@ -68,15 +68,4 @@ describe Gitlab::Geo, lib: true do ...@@ -68,15 +68,4 @@ describe Gitlab::Geo, lib: true do
expect(described_class.geo_node?(host: 'inexistent', port: 1234)).to be_falsey expect(described_class.geo_node?(host: 'inexistent', port: 1234)).to be_falsey
end end
end end
describe 'notify_project_update' do
let(:project) { FactoryGirl.build(:project) }
it 'delegates to NotifyService' do
expect(Geo::EnqueueProjectUpdateService).to receive(:new).with(project).and_call_original
expect_any_instance_of(Geo::EnqueueProjectUpdateService).to receive(:execute)
described_class.notify_project_update(project)
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