Skip to content

Commit ab1a888

Browse files
committed
Use entries instead of list.
Fixes Rspec 4 error: The processes `list` property is deprecated. Please use `entries` instead. This property was removed in InSpec 4.0.
1 parent b9f1bcd commit ab1a888

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
@@ -132,7 +132,7 @@
132132
pg_command = 'postgres'
133133
pg_command = 'postmaster' if os.redhat? && os.release.include?('6.')
134134
describe processes(pg_command) do
135-
its('list.length') { should eq 1 }
135+
its('entries.length') { should eq 1 }
136136
end
137137
end
138138

0 commit comments

Comments
 (0)