1 # frozen_string_literal: true
3 dispatcher_stanza = <<-DISPATCHER_STANZA
6 http://fixme.example.net:9006: {}
9 control 'arvados configuration' do
10 title 'should match desired dispatcher lines'
12 describe file('/etc/arvados/config.yml') do
14 it { should be_owned_by 'root' }
15 # We're testing it in the API instance, so group will be nginx's
16 it { should be_grouped_into 'www-data' }
17 its('mode') { should cmp '0640' }
20 'File managed by Salt at <salt://arvados/files/default/config.tmpl.jinja>.'
23 its('content') { should include(dispatcher_stanza) }