remove string quotes around regexp

This commit is contained in:
Lamont Granquist 2016-05-13 15:39:24 -07:00 committed by Christoph Hartmann
parent 23c4bc0a6e
commit 452047011d

View file

@ -1114,9 +1114,9 @@ The following complete example tests the ``pg_hba.conf`` file in |postgresql| fo
.. code-block:: bash .. code-block:: bash
describe file(hba_config_file) do describe file(hba_config_file) do
its('content') { should match '/local\s.*?all\s.*?all\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.*?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 %r{/host\s.*?all\s.*?all\s.*?::1\/128\s.*?md5/} }
end end
exist exist