Skip to content

Commit fdf175e

Browse files
committed
Merge pull request #12 from hardening-io/robocop
adapt to latest robocop style
2 parents 2c62286 + 6474065 commit fdf175e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

default/serverspec/postgresql_spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,11 +112,11 @@
112112
end
113113

114114
describe file(hba_config_file) do
115-
its(:content) { should match(/host\s.*?all\s.*?all\s.*?127.0.0.1\/32\s.*?md5/) }
115+
its(:content) { should match(%r{/host\s.*?all\s.*?all\s.*?127.0.0.1\/32\s.*?md5/}) }
116116
end
117117

118118
describe file(hba_config_file) do
119-
its(:content) { should match(/host\s.*?all\s.*?all\s.*?::1\/128\s.*?md5/) }
119+
its(:content) { should match(%r{/host\s.*?all\s.*?all\s.*?::1\/128\s.*?md5/}) }
120120
end
121121

122122

0 commit comments

Comments
 (0)