Fix should contain / should match confusion

If attempting to use "contain" here, you get 
         [UNSUPPORTED] `contain` matcher. Please use the following syntax `its('content') { should match('value') }`.

it looks like this should say "should match".  This may effect other resources, but I've only tried file.
This commit is contained in:
Zach Malone 2015-11-04 10:35:35 -07:00
parent 195ecd8153
commit 0d35ead5b4

View file

@ -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: