pip resource docs: mention custom path to pip as introduced by GH-2097 (#2459)

Signed-off-by: Markus Grobelin <grobi@koppzu.de>
This commit is contained in:
Markus Grobelin 2018-01-19 23:03:00 +01:00 committed by Adam Leff
parent 1ec706721d
commit dee94b6416

View file

@ -40,6 +40,13 @@ The following examples show how to use this InSpec audit resource.
its('version') { should eq '2.8' }
end
### Test packages installed into a non-default location (e.g. virtualenv) by passing a custom path to pip executable
describe pip('Jinja2', '/path/to/bin/pip') do
it { should be_installed }
its('version') { should eq '2.8' }
end
<br>
## Matchers