mirror of
https://github.com/inspec/inspec
synced 2024-11-27 07:00:39 +00:00
Merge pull request #214 from zmalone/patch-1
Fix contain / should match confusion
This commit is contained in:
commit
d6755614de
1 changed files with 1 additions and 1 deletions
|
@ -1067,7 +1067,7 @@ The ``content`` matcher tests if contents in the file match the value specified
|
|||
|
||||
.. code-block:: ruby
|
||||
|
||||
its('content') { should contain 'value' }
|
||||
its('content') { should match 'value' }
|
||||
|
||||
The following complete example tests the ``pg_hba.conf`` file in |postgresql| for |md5| requirements. The tests look at all ``host`` and ``local`` settings in that file, and then compare the |md5| checksums against the values in the test:
|
||||
|
||||
|
|
Loading…
Reference in a new issue