Skip to content
Snippets Groups Projects
Commit 67999129 authored by Dmitry Gruzd's avatar Dmitry Gruzd
Browse files

fixup! Advanced Search: standalone shard/replica settings

parent d7223c30
No related branches found
No related tags found
No related merge requests found
Loading
Loading
@@ -27,13 +27,13 @@
end
 
it 'creates a new record' do
expect { described_class['new_alias'] }.to change { described_class.count }.from(0).to(1)
expect { described_class['new_alias'] }.to change { described_class.count }.by(1)
end
end
 
describe '.default' do
it 'creates the default record' do
expect { described_class.default }.to change { described_class.count }.from(0).to(1)
expect { described_class.default }.to change { described_class.count }.by(1)
 
expect(described_class.default.alias_name).to eq('gitlab-test')
end
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment