Skip to content

Commit bfaef51

Browse files
committed
This wasn't matching anything other than psql 8
1 parent fdc8180 commit bfaef51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

spec/acceptance/db_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ class { 'postgresql::server': }
3030
end
3131

3232
result = shell('psql --version')
33-
version = result.stdout.match(%r{\s(8\.\d)})[1]
33+
version = result.stdout.match(%r{\s(\d\.\d)})[1]
3434
if version > "8.1"
3535
comment_information_function = "shobj_description"
3636
else

0 commit comments

Comments
 (0)