Skip to content

Commit 1040ac9

Browse files
pmav99chris-rock
authored andcommitted
Fix #23 - update supported versions (#25)
As of today, the supported versions are 9.3-9.6 and 10.5 Tests for the regex: http://rubular.com/r/dwLli41ugF
1 parent 01175b7 commit 1040ac9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controls/postgres_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@
115115
title 'Use stable postgresql version'
116116
desc 'Use only community or commercially supported version of the PostgreSQL software. Do not use RC, DEVEL oder BETA versions in a production environment.'
117117
describe command('psql -V') do
118-
its('stdout') { should match(/9.[1-5]/) }
118+
its('stdout') { should match(/\b9\.[3-6]$|\b10\.5$/) }
119119
end
120120
describe command('psql -V') do
121121
its('stdout') { should_not match(/RC/) }

0 commit comments

Comments
 (0)