Skip to content
Snippets Groups Projects
Select Git revision
  • 221409636290444aa06ef9e59fd324b94412a635
  • master default
  • json_fix
  • puneetk-patch-1
4 results

config_spec.rb

Blame
  • config_spec.rb 313 B
    # frozen_string_literal: true
    
    control 'Postgres configuration' do
      title 'should include the directory'
    
      describe file('/srv/my_tablespace') do
        it { should be_directory }
        it { should be_owned_by 'postgres' }
        it { should be_grouped_into 'postgres' }
        its('mode') { should cmp '0700' }
      end
    end