diff --git a/docs/resources.rst b/docs/resources.rst index ab820a6a8..5a8ac411a 100644 --- a/docs/resources.rst +++ b/docs/resources.rst @@ -1114,9 +1114,9 @@ The following complete example tests the ``pg_hba.conf`` file in |postgresql| fo .. code-block:: bash describe file(hba_config_file) do - its('content') { should match '/local\s.*?all\s.*?all\s.*?md5/' } - its('content') { should match '%r{/host\s.*?all\s.*?all\s.*?127.0.0.1\/32\s.*?md5/}' } - its('content') { should match '%r{/host\s.*?all\s.*?all\s.*?::1\/128\s.*?md5/}' } + its('content') { should match /local\s.*?all\s.*?all\s.*?md5/ } + its('content') { should match %r{/host\s.*?all\s.*?all\s.*?127.0.0.1\/32\s.*?md5/} } + its('content') { should match %r{/host\s.*?all\s.*?all\s.*?::1\/128\s.*?md5/} } end exist