You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: controls/postgres_spec.rb
+3-12Lines changed: 3 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -77,10 +77,10 @@
77
77
impact1.0
78
78
title'Use stable postgresql version'
79
79
desc'Use only community or commercially supported version of the PostgreSQL software. Do not use RC, DEVEL oder BETA versions in a production environment.'
80
-
describecommand('sudo -i psql -V')do
80
+
describecommand('psql -V')do
81
81
its('stdout'){shouldmatch(/9.[2-5]/)}
82
82
end
83
-
describecommand('sudo -i psql -V')do
83
+
describecommand('psql -V')do
84
84
its('stdout'){should_notmatch(/RC/)}
85
85
its('stdout'){should_notmatch(/DEVEL/)}
86
86
its('stdout'){should_notmatch(/BETA/)}
@@ -235,16 +235,7 @@
235
235
impact1.0
236
236
title'We accept one peer and one ident for now (chef automation)'
237
237
desc'We accept one peer and one ident for now (chef automation)'
0 commit comments