Skip to content

Commit d0c6424

Browse files
committed
Fix tests
Signed-off-by: Dan Webb <[email protected]>
1 parent f700c1e commit d0c6424

File tree

2 files changed

+10
-7
lines changed

2 files changed

+10
-7
lines changed

test/cookbooks/test/recipes/client_install.rb

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,4 @@
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-
72
include_recipe 'test::dokken'
83

94
postgresql_install 'postgresql' do

test/integration/initdb_locale/controls/default_spec.rb

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,19 @@
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
1422
end

0 commit comments

Comments
 (0)