File tree Expand file tree Collapse file tree 2 files changed +10
-7
lines changed
integration/initdb_locale/controls Expand file tree Collapse file tree 2 files changed +10
-7
lines changed Original file line number Diff line number Diff line change 11# Import PostgreSQL GPG key
2- execute 'import_pgdg_key' do
3- command 'rpm --import https://download.postgresql.org/pub/repos/yum/keys/RPM-GPG-KEY-PGDG'
4- not_if 'rpm -q gpg-pubkey-08b40d20-*'
5- end
6-
72include_recipe 'test::dokken'
83
94postgresql_install 'postgresql' do
Original file line number Diff line number Diff line change 44
55 postgres_access = postgres_session ( 'postgres' , '12345' , '127.0.0.1' )
66
7- describe postgres_access . query ( 'SHOW lc_collate ;' ) do
7+ describe postgres_access . query ( 'SHOW LC_MONETARY ;' ) do
88 its ( 'output' ) { should include "#{ os . release . to_i < 8 ? 'en_US.utf8' : 'C.UTF-8' } " }
99 end
1010
11- describe postgres_access . query ( 'SHOW lc_messages;' ) do
11+ describe postgres_access . query ( 'SHOW LC_MESSAGES;' ) do
12+ its ( 'output' ) { should include "#{ os . release . to_i < 8 ? 'en_US.utf8' : 'C.UTF-8' } " }
13+ end
14+
15+ describe postgres_access . query ( 'SHOW LC_NUMERIC;' ) do
16+ its ( 'output' ) { should include "#{ os . release . to_i < 8 ? 'en_US.utf8' : 'C.UTF-8' } " }
17+ end
18+
19+ describe postgres_access . query ( 'SHOW LC_TIME;' ) do
1220 its ( 'output' ) { should include "#{ os . release . to_i < 8 ? 'en_US.utf8' : 'C.UTF-8' } " }
1321 end
1422end
You can’t perform that action at this time.
0 commit comments