Commit 4e9f2bf1 authored by Mike Kozono's avatar Mike Kozono

Require replicables_for_geo_node method

parent 253e2ba8
......@@ -20,4 +20,16 @@ RSpec.shared_examples 'a replicable model' do
model_record.save!
end
describe '.replicables_for_geo_node' do
let_it_be(:secondary) { create(:geo_node) }
before do
stub_current_geo_node(secondary)
end
it 'is implemented' do
expect(model_record.class.replicables_for_geo_node).to be_an(ActiveRecord::Relation)
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