Commit f22fc964 authored by Douwe Maan's avatar Douwe Maan

Satisfy Rubocop

parent 322d6ead
......@@ -33,9 +33,11 @@ describe GeoNode, type: :model do
end
context 'prevent locking yourself out' do
subject { GeoNode.new(host: Gitlab.config.gitlab.host,
port: Gitlab.config.gitlab.port,
relative_url_root: Gitlab.config.gitlab.relative_url_root) }
subject do
GeoNode.new(host: Gitlab.config.gitlab.host,
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
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