1 # frozen_string_literal: true
3 websocket_stanza = <<-WEBSOCKET_STANZA
5 ExternalURL: wss://ws.example.net/websocket
7 "http://localhost:8005": {}
10 control 'arvados configuration' do
11 title 'should match desired websocket lines'
13 describe file('/etc/arvados/config.yml') do
15 it { should be_owned_by 'root' }
16 # We're testing it in the API instance, so group will be nginx's
17 it { should be_grouped_into 'www-data' }
18 its('mode') { should cmp '0640' }
21 'File managed by Salt at <salt://arvados/files/default/config.tmpl.jinja>.'
24 its('content') { should include(websocket_stanza) }