Commit f22fc964 authored by Douwe Maan's avatar Douwe Maan

Satisfy Rubocop

parent 322d6ead
...@@ -33,9 +33,11 @@ describe GeoNode, type: :model do ...@@ -33,9 +33,11 @@ describe GeoNode, type: :model do
end end
context 'prevent locking yourself out' do context 'prevent locking yourself out' do
subject { GeoNode.new(host: Gitlab.config.gitlab.host, subject do
port: Gitlab.config.gitlab.port, GeoNode.new(host: Gitlab.config.gitlab.host,
relative_url_root: Gitlab.config.gitlab.relative_url_root) } port: Gitlab.config.gitlab.port,
relative_url_root: Gitlab.config.gitlab.relative_url_root)
end
it 'does not accept adding a non primary node with same details as current_node' do it 'does not accept adding a non primary node with same details as current_node' do
expect(subject).not_to be_valid expect(subject).not_to be_valid
......
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