X-Git-Url: https://git.arvados.org/arvados-formula.git/blobdiff_plain/86ea398742e99ab5942705b342b0f0ac7bdef41d..ba5e37ebc18049d4340388fc0c19dcb2a78d6a86:/test/integration/workbench/controls/config_spec.rb diff --git a/test/integration/workbench/controls/config_spec.rb b/test/integration/workbench/controls/config_spec.rb index ddcb550..f8be4d4 100644 --- a/test/integration/workbench/controls/config_spec.rb +++ b/test/integration/workbench/controls/config_spec.rb @@ -11,13 +11,20 @@ workbench_service = <<-WORKBENCH_SERVICE_STANZA ExternalURL: https://workbench.fixme.example.net WORKBENCH_SERVICE_STANZA +group = case os[:name] + when 'centos' + 'nginx' + when 'debian', 'ubuntu' + 'www-data' + end + control 'arvados configuration' do title 'should match desired workbench lines' describe file('/etc/arvados/config.yml') do it { should be_file } it { should be_owned_by 'root' } - it { should be_grouped_into 'www-data' } + it { should be_grouped_into group } its('mode') { should cmp '0640' } its('content') do should include(